mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-02-02 18:26:49 +01:00
Cleaned up dependencies.gradle
Moved MultiDex to debug only
This commit is contained in:
parent
cb09be0a64
commit
b23c1b4a6a
@ -11,6 +11,9 @@ ext.versions = [
|
|||||||
jacoco : "0.8.2",
|
jacoco : "0.8.2",
|
||||||
|
|
||||||
androidSupport : "22.2.1",
|
androidSupport : "22.2.1",
|
||||||
|
androidLegacySupport : "1.0.0",
|
||||||
|
androidSupportDesign : "1.0.0",
|
||||||
|
multidex : "2.0.1",
|
||||||
|
|
||||||
kotlin : "1.3.72",
|
kotlin : "1.3.72",
|
||||||
|
|
||||||
@ -30,6 +33,7 @@ ext.versions = [
|
|||||||
apacheCodecs : "1.10",
|
apacheCodecs : "1.10",
|
||||||
testRunner : "1.0.1",
|
testRunner : "1.0.1",
|
||||||
robolectric : "3.8",
|
robolectric : "3.8",
|
||||||
|
dexter : "6.1.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
ext.gradlePlugins = [
|
ext.gradlePlugins = [
|
||||||
@ -41,9 +45,10 @@ ext.gradlePlugins = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
ext.androidSupport = [
|
ext.androidSupport = [
|
||||||
support : 'androidx.legacy:legacy-support-v4:1.0.0',
|
support : "androidx.legacy:legacy-support-v4:$versions.androidLegacySupport",
|
||||||
design : 'com.google.android.material:material:1.0.0',
|
design : "com.google.android.material:material:$versions.androidSupportDesign",
|
||||||
annotations: "com.android.support:support-annotations:$versions.androidSupport"
|
annotations: "com.android.support:support-annotations:$versions.androidSupport",
|
||||||
|
multidex : "androidx.multidex:multidex:$versions.multidex",
|
||||||
]
|
]
|
||||||
|
|
||||||
ext.other = [
|
ext.other = [
|
||||||
@ -60,6 +65,7 @@ ext.other = [
|
|||||||
koinJava : "org.koin:koin-java:$versions.koin",
|
koinJava : "org.koin:koin-java:$versions.koin",
|
||||||
koinAndroid : "org.koin:koin-android:$versions.koin",
|
koinAndroid : "org.koin:koin-android:$versions.koin",
|
||||||
picasso : "com.squareup.picasso:picasso:$versions.picasso",
|
picasso : "com.squareup.picasso:picasso:$versions.picasso",
|
||||||
|
dexter : "com.karumi:dexter:$versions.dexter",
|
||||||
]
|
]
|
||||||
|
|
||||||
ext.testing = [
|
ext.testing = [
|
||||||
|
@ -13,7 +13,6 @@ android {
|
|||||||
|
|
||||||
minSdkVersion versions.minSdk
|
minSdkVersion versions.minSdk
|
||||||
targetSdkVersion versions.targetSdk
|
targetSdkVersion versions.targetSdk
|
||||||
multiDexEnabled true
|
|
||||||
|
|
||||||
resConfigs "de", "en", "es", "fr", "hu", "nl", "pl", "pt", "pt-rBR"
|
resConfigs "de", "en", "es", "fr", "hu", "nl", "pl", "pt", "pt-rBR"
|
||||||
}
|
}
|
||||||
@ -31,6 +30,7 @@ android {
|
|||||||
}
|
}
|
||||||
debug {
|
debug {
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
|
multiDexEnabled true
|
||||||
testCoverageEnabled true
|
testCoverageEnabled true
|
||||||
applicationIdSuffix ".debug"
|
applicationIdSuffix ".debug"
|
||||||
}
|
}
|
||||||
@ -55,9 +55,6 @@ tasks.withType(Test) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
def multidex_version = "2.0.1"
|
|
||||||
implementation "androidx.multidex:multidex:$multidex_version"
|
|
||||||
|
|
||||||
implementation project(':core:menudrawer')
|
implementation project(':core:menudrawer')
|
||||||
implementation project(':core:pulltorefresh')
|
implementation project(':core:pulltorefresh')
|
||||||
implementation project(':core:library')
|
implementation project(':core:library')
|
||||||
@ -68,6 +65,7 @@ dependencies {
|
|||||||
|
|
||||||
implementation androidSupport.support
|
implementation androidSupport.support
|
||||||
implementation androidSupport.design
|
implementation androidSupport.design
|
||||||
|
implementation androidSupport.multidex
|
||||||
|
|
||||||
implementation other.kotlinStdlib
|
implementation other.kotlinStdlib
|
||||||
implementation other.koinAndroid
|
implementation other.koinAndroid
|
||||||
@ -79,7 +77,7 @@ dependencies {
|
|||||||
testImplementation testing.kotlinJunit
|
testImplementation testing.kotlinJunit
|
||||||
testImplementation testing.mockitoKotlin
|
testImplementation testing.mockitoKotlin
|
||||||
testImplementation testing.kluent
|
testImplementation testing.kluent
|
||||||
implementation 'com.karumi:dexter:6.1.2'
|
implementation other.dexter
|
||||||
}
|
}
|
||||||
|
|
||||||
jacoco {
|
jacoco {
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
package org.moire.ultrasonic.app
|
package org.moire.ultrasonic.app
|
||||||
|
|
||||||
import android.app.Application
|
|
||||||
import androidx.multidex.MultiDexApplication
|
import androidx.multidex.MultiDexApplication
|
||||||
import org.koin.android.ext.android.startKoin
|
import org.koin.android.ext.android.startKoin
|
||||||
import org.moire.ultrasonic.di.DiProperties
|
import org.moire.ultrasonic.di.DiProperties
|
||||||
|
Loading…
x
Reference in New Issue
Block a user