Gradle 4 and Android plugin 3, fix #433

This commit is contained in:
Emux
2017-10-27 11:54:45 +03:00
parent df5bcd583f
commit cbdeb58c2f
27 changed files with 228 additions and 236 deletions

View File

@@ -7,7 +7,7 @@ buildscript {
}
}
apply plugin: 'java'
apply plugin: 'java-library'
apply plugin: 'maven'
apply plugin: 'gwt-base'
@@ -16,13 +16,13 @@ sourceSets {
}
dependencies {
compile project(':vtm-gdx')
compile project(':vtm-extras')
compile "com.badlogicgames.gdx:gdx:$gdxVersion:sources"
compile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion:sources"
compile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion"
compile "org.slf4j:slf4j-api:$slf4jVersion"
compile 'ru.finam:slf4j-gwt:1.7.7.1'
api project(':vtm-gdx')
api project(':vtm-extras')
implementation "com.badlogicgames.gdx:gdx:$gdxVersion:sources"
implementation "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion:sources"
implementation "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion"
implementation "org.slf4j:slf4j-api:$slf4jVersion"
implementation 'ru.finam:slf4j-gwt:1.7.7.1'
}
// explicit dependencies for org.gradle.configureondemand=true
@@ -39,9 +39,9 @@ gwt {
noPrecompile = true
}
compiler {
enableClosureCompiler = false; // activates -XenableClosureCompiler
disableClassMetadata = true; // activates -XdisableClassMetadata
disableCastChecking = true; // activates -XdisableCastChecking
enableClosureCompiler = false // activates -XenableClosureCompiler
disableClassMetadata = true // activates -XdisableClassMetadata
disableCastChecking = true // activates -XdisableCastChecking
}
src += files(sourceSets.main.java.srcDirs)