gradle: test configureondemand

This commit is contained in:
Hannes Janetzek 2014-03-01 15:58:08 +01:00
parent 1f1cd2ef57
commit cee96c9ed0
3 changed files with 24 additions and 1 deletions

19
gradle.properties Normal file
View File

@ -0,0 +1,19 @@
# VERSION_NAME=0.9.2-SNAPSHOT
# VERSION_CODE=92
# GROUP=com.github.chrisbanes.actionbarpulltorefresh
# POM_DESCRIPTION=A vector-tile-map for android, java-desktop and gwt
# POM_URL=https://github.com/hjanetzek/vtm
# POM_SCM_URL=https://github.com/hjnaetzek/vtm
# POM_SCM_CONNECTION=scm:git@github.com:hjanetzek/vtm.git
# POM_SCM_DEV_CONNECTION=scm:git@github.com:hjanetzek/vtm.git
# POM_LICENCE_NAME=GNU Lesser General Public License, Version 3.0
# POM_LICENCE_URL=http://www.gnu.org/licenses/lgpl-3.0.txt
# POM_LICENCE_DIST=repo
# POM_DEVELOPER_ID=hjanetzek
# POM_DEVELOPER_NAME=Hannes Janetzek
#org.gradle.daemon=true
#org.gradle.parallel=true
org.gradle.configureondemand=true
org.gradle.jvmargs=-Xmx1024m

View File

@ -31,6 +31,11 @@ dependencies {
providedCompile 'org.slf4j:slf4j-api:1.7.5'
}
// explicit dependencies for org.gradle.configureondemand=true
evaluationDependsOn(':vtm')
evaluationDependsOn(':vtm-themes')
evaluationDependsOn(':vtm-gdx')
gwt {
gwtVersion='2.6.0'
modules 'org.oscim.gdx.GwtDefinition'

View File

@ -11,7 +11,6 @@ dependencies {
sourceSets {
main.java.srcDirs = ['src']
main.compileClasspath += configurations.providedCompile
//main.resources.srcDirs = ['assets']
}
//... there is probably a better way