Gradle 4 / Android plugin 3 transitive dependencies, fix #433

This commit is contained in:
Emux
2018-01-02 13:27:54 +02:00
parent 791f054f70
commit a67b2f2c91
22 changed files with 33 additions and 71 deletions

View File

@@ -2,6 +2,7 @@
## New since 0.9.1 ## New since 0.9.1
- Gradle fix transitive dependencies [#433](https://github.com/mapsforge/vtm/issues/433)
- libGDX 1.9.8 [#464](https://github.com/mapsforge/vtm/issues/464) - libGDX 1.9.8 [#464](https://github.com/mapsforge/vtm/issues/464)
- Many other minor improvements and bug fixes - Many other minor improvements and bug fixes
- [Solved issues](https://github.com/mapsforge/vtm/issues?q=is%3Aclosed+milestone%3A0.10.0) - [Solved issues](https://github.com/mapsforge/vtm/issues?q=is%3Aclosed+milestone%3A0.10.0)

View File

@@ -1,7 +1,7 @@
apply plugin: 'java-library' apply plugin: 'java-library'
dependencies { dependencies {
implementation "com.badlogicgames.gdx:gdx-jnigen:$gdxVersion" api "com.badlogicgames.gdx:gdx-jnigen:$gdxVersion"
} }
sourceSets { sourceSets {

View File

@@ -11,12 +11,6 @@ dependencies {
implementation project(':vtm-json') implementation project(':vtm-json')
implementation project(':vtm-jts') implementation project(':vtm-jts')
implementation project(':vtm-themes') implementation project(':vtm-themes')
implementation('org.jeo:jeo:0-SNAPSHOT') {
exclude group: 'org.slf4j', module: 'slf4j-jdk14'
}
implementation('org.jeo:jeo-render:0-SNAPSHOT') {
exclude group: 'org.slf4j', module: 'slf4j-jdk14'
}
implementation "org.slf4j:slf4j-android:$slf4jVersion" implementation "org.slf4j:slf4j-android:$slf4jVersion"
implementation project(':vtm-android-gdx') implementation project(':vtm-android-gdx')

View File

@@ -3,8 +3,7 @@ apply plugin: 'com.github.dcendents.android-maven'
dependencies { dependencies {
api project(':vtm') api project(':vtm')
implementation 'com.caverock:androidsvg:1.2.2-beta-1' api 'com.caverock:androidsvg:1.2.2-beta-1'
implementation "org.slf4j:slf4j-api:$slf4jVersion"
} }
android { android {

View File

@@ -2,8 +2,8 @@ apply plugin: 'com.android.application'
dependencies { dependencies {
implementation project(':vtm-android') implementation project(':vtm-android')
implementation project(':vtm-themes')
implementation project(':vtm-extras') implementation project(':vtm-extras')
implementation project(':vtm-themes')
implementation 'com.squareup.okhttp3:okhttp:3.8.0' implementation 'com.squareup.okhttp3:okhttp:3.8.0'
implementation "org.slf4j:slf4j-android:$slf4jVersion" implementation "org.slf4j:slf4j-android:$slf4jVersion"
} }

View File

@@ -3,13 +3,8 @@ apply plugin: 'maven'
dependencies { dependencies {
api project(':vtm-gdx') api project(':vtm-gdx')
file('natives').eachDir() { dir -> api "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
api files(dir.path) api 'com.metsci.ext.com.kitfox.svg:svg-salamander:0.1.19'
}
implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
implementation "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
implementation 'com.metsci.ext.com.kitfox.svg:svg-salamander:0.1.19'
implementation "org.slf4j:slf4j-api:$slf4jVersion"
} }
sourceSets { sourceSets {

View File

@@ -3,11 +3,10 @@ apply plugin: 'maven'
dependencies { dependencies {
api project(':vtm') api project(':vtm')
implementation 'com.fasterxml.jackson.core:jackson-core:2.8.4' api 'com.fasterxml.jackson.core:jackson-core:2.8.4'
implementation 'com.google.protobuf:protobuf-java:2.6.1' api 'com.google.protobuf:protobuf-java:2.6.1'
implementation 'com.vividsolutions:jts:1.13' api 'com.vividsolutions:jts:1.13'
implementation 'org.openstreetmap.osmosis:osmosis-osm-binary:0.45' api 'org.openstreetmap.osmosis:osmosis-osm-binary:0.45'
implementation "org.slf4j:slf4j-api:$slf4jVersion"
} }
sourceSets { sourceSets {

View File

@@ -4,8 +4,7 @@ apply plugin: 'maven'
dependencies { dependencies {
api project(':vtm') api project(':vtm')
api project(':vtm-themes') api project(':vtm-themes')
implementation "com.badlogicgames.gdx:gdx:$gdxVersion" api "com.badlogicgames.gdx:gdx:$gdxVersion"
implementation "org.slf4j:slf4j-api:$slf4jVersion"
} }
sourceSets { sourceSets {

View File

@@ -3,8 +3,7 @@ apply plugin: 'maven'
dependencies { dependencies {
api project(':vtm') api project(':vtm')
implementation 'com.squareup.okhttp3:okhttp:3.8.0' api 'com.squareup.okhttp3:okhttp:3.8.0'
implementation "org.slf4j:slf4j-api:$slf4jVersion"
} }
sourceSets { sourceSets {

View File

@@ -25,15 +25,8 @@ launchIOSDevice.dependsOn build
createIPA.dependsOn build createIPA.dependsOn build
dependencies { dependencies {
implementation project(':vtm')
implementation project(':vtm-gdx')
implementation project(':vtm-jts')
implementation project(':vtm-ios') implementation project(':vtm-ios')
implementation project(':vtm-themes') implementation project(':vtm-jts')
implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
implementation "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion"
implementation "com.mobidevelop.robovm:robovm-rt:$roboVMVersion"
implementation "com.mobidevelop.robovm:robovm-cocoatouch:$roboVMVersion"
implementation "org.slf4j:slf4j-simple:$slf4jVersion" implementation "org.slf4j:slf4j-simple:$slf4jVersion"
} }

View File

@@ -27,11 +27,10 @@ createIPA.dependsOn build
dependencies { dependencies {
api project(':vtm-gdx') api project(':vtm-gdx')
implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios" api "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
implementation "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion" api "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion"
implementation "com.mobidevelop.robovm:robovm-rt:$roboVMVersion" api "com.mobidevelop.robovm:robovm-cocoatouch:$roboVMVersion"
implementation "com.mobidevelop.robovm:robovm-cocoatouch:$roboVMVersion" api "com.mobidevelop.robovm:robovm-rt:$roboVMVersion"
implementation "org.slf4j:slf4j-api:$slf4jVersion"
} }
task copyVtmResources(type: Copy) { task copyVtmResources(type: Copy) {

View File

@@ -3,10 +3,10 @@ apply plugin: 'maven'
dependencies { dependencies {
api project(':vtm') api project(':vtm')
implementation('org.jeo:jeo:0-SNAPSHOT') { api('org.jeo:jeo:0-SNAPSHOT') {
exclude group: 'org.slf4j', module: 'slf4j-jdk14' exclude group: 'org.slf4j', module: 'slf4j-jdk14'
} }
implementation('org.jeo:jeo-carto:0-SNAPSHOT') { api('org.jeo:jeo-carto:0-SNAPSHOT') {
exclude group: 'org.slf4j', module: 'slf4j-jdk14' exclude group: 'org.slf4j', module: 'slf4j-jdk14'
} }
} }

View File

@@ -3,7 +3,7 @@ apply plugin: 'maven'
dependencies { dependencies {
api project(':vtm') api project(':vtm')
implementation 'com.fasterxml.jackson.core:jackson-core:2.8.4' api 'com.fasterxml.jackson.core:jackson-core:2.8.4'
} }
sourceSets { sourceSets {

View File

@@ -3,8 +3,7 @@ apply plugin: 'maven'
dependencies { dependencies {
api project(':vtm') api project(':vtm')
implementation 'com.vividsolutions:jts:1.13' api 'com.vividsolutions:jts:1.13'
implementation "org.slf4j:slf4j-api:$slf4jVersion"
} }
sourceSets { sourceSets {

View File

@@ -2,16 +2,14 @@ apply plugin: 'application'
dependencies { dependencies {
implementation project(':vtm-desktop') implementation project(':vtm-desktop')
implementation project(':vtm-extras') file("${rootDir}/vtm-desktop/natives").eachDir() { dir ->
implementation files(dir.path)
}
implementation project(':vtm-http') implementation project(':vtm-http')
implementation project(':vtm-jeo') implementation project(':vtm-jeo')
implementation project(':vtm-json') implementation project(':vtm-json')
implementation project(':vtm-jts') implementation project(':vtm-jts')
implementation "com.badlogicgames.gdx:gdx:$gdxVersion" implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
implementation "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
implementation 'com.squareup.okhttp3:okhttp:3.8.0'
implementation 'org.jeo:jeo:0-SNAPSHOT'
implementation 'org.jeo:jeo-render:0-SNAPSHOT'
implementation "org.slf4j:slf4j-jdk14:$slf4jVersion" implementation "org.slf4j:slf4j-jdk14:$slf4jVersion"
} }

View File

@@ -1,2 +0,0 @@
org.slf4j.simpleLogger.defaultLogLevel=debug
#org.slf4j.simpleLogger.showThreadName=true

View File

@@ -2,7 +2,6 @@ apply plugin: 'java'
dependencies { dependencies {
implementation project(':vtm-http') implementation project(':vtm-http')
implementation 'com.squareup.okhttp3:okhttp:3.8.0'
testImplementation 'com.squareup.okhttp3:mockwebserver:3.8.0' testImplementation 'com.squareup.okhttp3:mockwebserver:3.8.0'
testImplementation 'junit:junit:4.12' testImplementation 'junit:junit:4.12'
testImplementation 'org.easytesting:fest-assert-core:2.0M10' testImplementation 'org.easytesting:fest-assert-core:2.0M10'

View File

@@ -6,9 +6,11 @@ repositories {
dependencies { dependencies {
implementation project(':vtm-desktop') implementation project(':vtm-desktop')
file("${rootDir}/vtm-desktop/natives").eachDir() { dir ->
implementation files(dir.path)
}
implementation 'ch.qos.logback:logback-classic:1.2.3' implementation 'ch.qos.logback:logback-classic:1.2.3'
implementation "com.badlogicgames.gdx:gdx:$gdxVersion" implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
implementation "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
implementation 'com.fifesoft:rsyntaxtextarea:2.6.1' implementation 'com.fifesoft:rsyntaxtextarea:2.6.1'
implementation 'com.jtattoo:JTattoo:1.6.11' implementation 'com.jtattoo:JTattoo:1.6.11'

View File

@@ -18,10 +18,6 @@ sourceSets {
dependencies { dependencies {
providedCompile project(':vtm-web') providedCompile project(':vtm-web')
providedCompile "com.badlogicgames.gdx:gdx:$gdxVersion:sources"
providedCompile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion:sources"
providedCompile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion"
providedCompile "org.slf4j:slf4j-api:$slf4jVersion"
providedCompile 'ru.finam:slf4j-gwt:1.7.7.1' providedCompile 'ru.finam:slf4j-gwt:1.7.7.1'
} }

View File

@@ -18,11 +18,6 @@ sourceSets {
dependencies { dependencies {
providedCompile project(':vtm-web') providedCompile project(':vtm-web')
providedCompile project(':vtm-extras')
providedCompile "com.badlogicgames.gdx:gdx:$gdxVersion:sources"
providedCompile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion:sources"
providedCompile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion"
providedCompile "org.slf4j:slf4j-api:$slf4jVersion"
providedCompile 'org.timepedia.exporter:gwtexporter:2.5.1' providedCompile 'org.timepedia.exporter:gwtexporter:2.5.1'
providedCompile 'ru.finam:slf4j-gwt:1.7.7.1' providedCompile 'ru.finam:slf4j-gwt:1.7.7.1'
} }

View File

@@ -17,12 +17,9 @@ sourceSets {
dependencies { dependencies {
api project(':vtm-gdx') api project(':vtm-gdx')
api project(':vtm-extras') api "com.badlogicgames.gdx:gdx:$gdxVersion:sources"
implementation "com.badlogicgames.gdx:gdx:$gdxVersion:sources" api "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion:sources" api "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 // explicit dependencies for org.gradle.configureondemand=true

View File

@@ -2,7 +2,7 @@ apply plugin: 'java-library'
apply plugin: 'maven' apply plugin: 'maven'
dependencies { dependencies {
implementation "org.slf4j:slf4j-api:$slf4jVersion" api "org.slf4j:slf4j-api:$slf4jVersion"
compileOnly 'com.google.code.findbugs:jsr305:3.0.1' compileOnly 'com.google.code.findbugs:jsr305:3.0.1'
} }