Gradle Startup time taking up 90% of the build

(Ashley) #1

I have this annoying bug where startup takes 90% or more of the whole project build, I don’t have a lot of plugins or dependencies, project is a libgdx game

This makes it incredibly annoying to do anything

Here’s two example profiles

and a log

BTW: daemon, parallel build and configuration on demand are enabled

Gradle Version: 2.14
Operating System: Windows 10

(Stefan Wolf) #2

Hi Ashley,

I cannot reproduce your problem locally. A clean build of take about 3s on my machine where most time is spent on compiling Kotlin classes.

Is it possible that your network setup is somewhat broken and Gradle tries to check an unreachable URL when resolving the buildscript dependencies?


(Ashley) #3

The problem seems to have something to do with Internet connectivity, it works fine on LAN and completely offline, but when I tether my phone for internet I get this strange bug