Migrate subsonic api module to new gradle dependencies system.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
This commit is contained in:
Yahor Berdnikau 2017-08-21 22:08:42 +02:00
parent a1e59efceb
commit bb4de9d065
1 changed files with 14 additions and 14 deletions

View File

@ -1,4 +1,5 @@
apply plugin: 'kotlin' apply plugin: 'kotlin'
apply plugin: 'java-library'
apply plugin: 'jacoco' apply plugin: 'jacoco'
apply from: '../gradle_scripts/code_quality.gradle' apply from: '../gradle_scripts/code_quality.gradle'
@ -6,29 +7,28 @@ sourceSets {
main.java.srcDirs += "${projectDir}/src/main/kotlin" main.java.srcDirs += "${projectDir}/src/main/kotlin"
test.java.srcDirs += "${projectDir}/src/integrationTest/kotlin" test.java.srcDirs += "${projectDir}/src/integrationTest/kotlin"
test.resources.srcDirs += "${projectDir}/src/integrationTest/resources" test.resources.srcDirs += "${projectDir}/src/integrationTest/resources"
test.output.resourcesDir = test.output.classesDir
} }
dependencies { dependencies {
compile other.kotlinStdlib api other.kotlinStdlib
compile other.retrofit api other.retrofit
compile other.jacksonConverter implementation other.jacksonConverter
compile(other.jacksonKotlin) { implementation(other.jacksonKotlin) {
exclude module: 'kotlin-reflect' exclude module: 'kotlin-reflect'
} }
compile other.kotlinReflect // for jackson kotlin, but to use the same version implementation other.kotlinReflect // for jackson kotlin, but to use the same version
compile other.okhttpLogging implementation other.okhttpLogging
testCompile testing.junit testImplementation testing.junit
testCompile testing.kotlinJunit testImplementation testing.kotlinJunit
testCompile testing.mockitoKotlin testImplementation testing.mockitoKotlin
testCompile testing.kluent testImplementation testing.kluent
testCompile testing.mockWebServer testImplementation testing.mockWebServer
testCompile testing.apacheCodecs testImplementation testing.apacheCodecs
} }
jacoco { jacoco {
toolVersion = versions.jacoco toolVersion(versions.jacoco)
} }
ext { ext {