mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-02-03 18:47:31 +01:00
e7f8fa21cb
Squashed commit of the following: commit 4491c65b1bfa8f507e9c998878254d61bc52f962 Merge: 51ff716f 77865a14 Author: tzugen <67737443+tzugen@users.noreply.github.com> Date: Tue Jun 21 20:50:05 2022 +0200 Merge branch 'develop' into gradle-update commit 51ff716ff5fc8aeb29bc557844747c0127ab1f78 Author: Holger Müller <github@euhm.de> Date: Tue Jun 21 20:38:52 2022 +0200 fixed lint warning commit 18c31a5704e7d92a04009e2f3ed8f8b9ca28b577 Author: Holger Müller <github@euhm.de> Date: Tue Jun 21 20:38:35 2022 +0200 fixed lint warning commit 603654c262ed86a66b4127513764cd252cdedfff Author: Holger Müller <github@euhm.de> Date: Tue Jun 21 20:37:51 2022 +0200 API is > lollipop ... target removed commit b38a7211de0f206465640d39f8f3189695afbd38 Author: Holger Müller <github@euhm.de> Date: Tue Jun 21 20:37:07 2022 +0200 new created after fixes commit 4929a526f7e9154755cae2c16fdf431550ae2c2a Author: tzugen <tzugen@riseup.net> Date: Tue Jun 21 10:43:16 2022 +0200 Disable ObsoleteLintCustomCheck commit d0c30f0b6b1d4de2f3c46a166a4f1058223ad3a8 Author: tzugen <tzugen@riseup.net> Date: Tue Jun 21 10:14:06 2022 +0200 Update more libs commit e2fa447bbfbd19119393297c19de0f3237e1ccd3 Merge: d4ead495 ff9c7b24 Author: tzugen <67737443+tzugen@users.noreply.github.com> Date: Tue Jun 21 09:47:03 2022 +0200 Merge branch 'develop' into gradle-update commit d4ead49548d11f51dd9c29478972dcd4553d352a Merge: 2dac6a7e 9a73d72f Author: Holger Müller <github@euhm.de> Date: Tue Jun 21 08:50:42 2022 +0200 merged with develop branch commit 2dac6a7e01e4ce5dc619426553ea08743bd9524e Author: Holger Müller <github@euhm.de> Date: Mon Jun 20 21:45:22 2022 +0200 update to android image tag 2022.06.1 commit f3dc259c390c256a66f96c3f003e34daf0fdea14 Author: Holger Müller <github@euhm.de> Date: Mon Jun 20 20:56:37 2022 +0200 rebuild lint-baseline.xml commit c71bc1212a8570f8ee99a80926c7b3b6036c672f Author: Holger Müller <github@euhm.de> Date: Mon Jun 20 20:55:00 2022 +0200 removed unneeded cast commit eca136dabedab838e8a02be1a6fd740c4d0934ec Author: Holger Müller <github@euhm.de> Date: Fri Jun 17 23:58:37 2022 +0200 commit signed commit 540f47633485cddeb4e68626532e54707a66bab8 Author: Holger Müller <github@euhm.de> Date: Fri Jun 17 23:40:59 2022 +0200 commit signed Signed-off-by: Holger Müller <github@euhm.de> commit 986bd013a49afc56ff8992634f2ce126339eecfc Author: Holger Müller <github@euhm.de> Date: Fri Jun 17 23:27:20 2022 +0200 push to latest gradle version, set targetSdk to 33 Signed-off-by: tzugen <tzugen@riseup.net>
138 lines
3.7 KiB
Groovy
138 lines
3.7 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-kapt'
|
|
apply from: "../gradle_scripts/code_quality.gradle"
|
|
|
|
android {
|
|
compileSdkVersion versions.compileSdk
|
|
|
|
defaultConfig {
|
|
applicationId "org.moire.ultrasonic"
|
|
versionCode 103
|
|
versionName "3.2.0"
|
|
|
|
minSdkVersion versions.minSdk
|
|
targetSdkVersion versions.targetSdk
|
|
resConfigs 'cs', 'de', 'en', 'es', 'fr', 'hu', 'it', 'nl', 'pl', 'pt', 'pt-rBR', 'ru', 'zh-rCN', 'zh-rTW'
|
|
}
|
|
|
|
bundle.language.enableSplit = false
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'),
|
|
'minify/proguard-main.pro',
|
|
'minify/proguard-okhttp.pro',
|
|
'minify/proguard-retrofit.pro',
|
|
'minify/proguard-jackson.pro',
|
|
'minify/proguard-kotlin-reflect.pro',
|
|
'minify/proguard-kotlin.pro'
|
|
}
|
|
debug {
|
|
minifyEnabled false
|
|
multiDexEnabled true
|
|
testCoverageEnabled true
|
|
applicationIdSuffix ".debug"
|
|
}
|
|
}
|
|
sourceSets {
|
|
main.java.srcDirs += "${projectDir}/src/main/kotlin"
|
|
test.java.srcDirs += "${projectDir}/src/test/kotlin"
|
|
}
|
|
packagingOptions {
|
|
resources {
|
|
excludes += ['META-INF/LICENSE']
|
|
}
|
|
}
|
|
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
|
|
buildFeatures {
|
|
viewBinding true
|
|
dataBinding true
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
kapt {
|
|
arguments {
|
|
arg("room.schemaLocation", "$rootDir/ultrasonic/schemas".toString())
|
|
}
|
|
}
|
|
lint {
|
|
baseline = file("lint-baseline.xml")
|
|
abortOnError true
|
|
warningsAsErrors true
|
|
disable 'IconMissingDensityFolder', 'VectorPath'
|
|
ignore 'MissingTranslation', 'UnusedQuantity', 'MissingQuantity'
|
|
warning 'ImpliedQuantity'
|
|
disable 'ObsoleteLintCustomCheck'
|
|
}
|
|
|
|
}
|
|
|
|
tasks.withType(Test) {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':core:domain')
|
|
implementation project(':core:subsonic-api')
|
|
|
|
api(libs.picasso) {
|
|
exclude group: "com.android.support"
|
|
}
|
|
|
|
implementation libs.core
|
|
implementation libs.support
|
|
implementation libs.design
|
|
implementation libs.multidex
|
|
implementation libs.roomRuntime
|
|
implementation libs.roomKtx
|
|
implementation libs.viewModelKtx
|
|
implementation libs.constraintLayout
|
|
implementation libs.preferences
|
|
implementation libs.media
|
|
implementation libs.media3exoplayer
|
|
implementation libs.media3session
|
|
implementation libs.media3okhttp
|
|
|
|
implementation libs.navigationFragment
|
|
implementation libs.navigationUi
|
|
implementation libs.navigationFragmentKtx
|
|
implementation libs.navigationUiKtx
|
|
implementation libs.navigationFeature
|
|
|
|
implementation libs.kotlinStdlib
|
|
implementation libs.kotlinxCoroutines
|
|
implementation libs.kotlinxGuava
|
|
implementation libs.koinAndroid
|
|
implementation libs.okhttpLogging
|
|
implementation libs.fastScroll
|
|
implementation libs.colorPickerView
|
|
implementation libs.rxJava
|
|
implementation libs.rxAndroid
|
|
implementation libs.multiType
|
|
|
|
kapt libs.room
|
|
|
|
testImplementation libs.kotlinReflect
|
|
testImplementation libs.junit
|
|
testRuntimeOnly libs.junitVintage
|
|
testImplementation libs.kotlinJunit
|
|
testImplementation libs.kluent
|
|
testImplementation libs.mockito
|
|
testImplementation libs.mockitoInline
|
|
testImplementation libs.mockitoKotlin
|
|
testImplementation libs.robolectric
|
|
|
|
implementation libs.timber
|
|
}
|