mirror of
https://gitlab.com/ultrasonic/ultrasonic.git
synced 2025-04-13 07:57:16 +03:00
Currently it only supports loading cover art images from network. Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
67 lines
1.5 KiB
Groovy
67 lines
1.5 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
//apply plugin: 'jacoco'
|
|
apply from: '../gradle_scripts/code_quality.gradle'
|
|
|
|
android {
|
|
compileSdkVersion(versions.compileSdk)
|
|
|
|
defaultConfig {
|
|
minSdkVersion(versions.minSdk)
|
|
targetSdkVersion(versions.targetSdk)
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
sourceSets {
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
test.java.srcDirs += 'src/test/kotlin'
|
|
test.java.srcDirs += "${projectDir}/src/integrationTest/kotlin"
|
|
test.resources.srcDirs += "${projectDir}/src/integrationTest/resources"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api project(':domain')
|
|
api project(':subsonic-api')
|
|
api other.kotlinStdlib
|
|
api other.picasso
|
|
|
|
testImplementation testing.junit
|
|
testImplementation testing.kotlinJunit
|
|
testImplementation testing.mockito
|
|
testImplementation testing.mockitoInline
|
|
testImplementation testing.mockitoKotlin
|
|
testImplementation testing.kluent
|
|
testImplementation testing.robolectric
|
|
}
|
|
|
|
jacoco {
|
|
toolVersion(versions.jacoco)
|
|
}
|
|
|
|
//ext {
|
|
// jacocoExclude = []
|
|
//}
|
|
|
|
//jacocoTestReport {
|
|
// reports {
|
|
// html.enabled true
|
|
// csv.enabled false
|
|
// xml.enabled true
|
|
// }
|
|
//
|
|
// afterEvaluate {
|
|
// classDirectories = files(classDirectories.files.collect {
|
|
// fileTree(dir: it, excludes: jacocoExclude)
|
|
// })
|
|
// }
|
|
//}
|
|
//
|
|
//test.finalizedBy jacocoTestReport
|
|
//test {
|
|
// jacoco {
|
|
// excludes += jacocoExclude
|
|
// }
|
|
//}
|