Migrate subsonic api module to new gradle dependencies system.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
This commit is contained in:
parent
a1e59efceb
commit
bb4de9d065
|
@ -1,4 +1,5 @@
|
|||
apply plugin: 'kotlin'
|
||||
apply plugin: 'java-library'
|
||||
apply plugin: 'jacoco'
|
||||
apply from: '../gradle_scripts/code_quality.gradle'
|
||||
|
||||
|
@ -6,29 +7,28 @@ sourceSets {
|
|||
main.java.srcDirs += "${projectDir}/src/main/kotlin"
|
||||
test.java.srcDirs += "${projectDir}/src/integrationTest/kotlin"
|
||||
test.resources.srcDirs += "${projectDir}/src/integrationTest/resources"
|
||||
test.output.resourcesDir = test.output.classesDir
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile other.kotlinStdlib
|
||||
compile other.retrofit
|
||||
compile other.jacksonConverter
|
||||
compile(other.jacksonKotlin) {
|
||||
api other.kotlinStdlib
|
||||
api other.retrofit
|
||||
implementation other.jacksonConverter
|
||||
implementation(other.jacksonKotlin) {
|
||||
exclude module: 'kotlin-reflect'
|
||||
}
|
||||
compile other.kotlinReflect // for jackson kotlin, but to use the same version
|
||||
compile other.okhttpLogging
|
||||
implementation other.kotlinReflect // for jackson kotlin, but to use the same version
|
||||
implementation other.okhttpLogging
|
||||
|
||||
testCompile testing.junit
|
||||
testCompile testing.kotlinJunit
|
||||
testCompile testing.mockitoKotlin
|
||||
testCompile testing.kluent
|
||||
testCompile testing.mockWebServer
|
||||
testCompile testing.apacheCodecs
|
||||
testImplementation testing.junit
|
||||
testImplementation testing.kotlinJunit
|
||||
testImplementation testing.mockitoKotlin
|
||||
testImplementation testing.kluent
|
||||
testImplementation testing.mockWebServer
|
||||
testImplementation testing.apacheCodecs
|
||||
}
|
||||
|
||||
jacoco {
|
||||
toolVersion = versions.jacoco
|
||||
toolVersion(versions.jacoco)
|
||||
}
|
||||
|
||||
ext {
|
||||
|
|
Loading…
Reference in New Issue