2017-05-30 00:05:26 +02:00
|
|
|
apply plugin: 'com.android.application'
|
2018-11-07 04:46:38 +01:00
|
|
|
apply plugin: 'com.bugsnag.android.gradle'
|
2017-05-30 00:05:26 +02:00
|
|
|
apply plugin: 'kotlin-android'
|
2018-10-09 04:46:26 +02:00
|
|
|
apply plugin: 'kotlin-android-extensions'
|
2017-06-29 19:12:18 +02:00
|
|
|
apply plugin: 'kotlin-kapt'
|
2017-12-31 23:14:26 +01:00
|
|
|
apply plugin: 'com.getkeepsafe.dexcount'
|
2018-04-07 20:41:28 +02:00
|
|
|
apply plugin: 'com.gladed.androidgitversion'
|
2019-07-03 09:06:02 +02:00
|
|
|
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath "com.moowork.gradle:gradle-node-plugin:${Versions.nodeGradle}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: com.moowork.gradle.node.NodePlugin
|
2017-07-03 04:55:52 +02:00
|
|
|
|
2018-12-24 07:47:03 +01:00
|
|
|
apply from: '../spotless.gradle'
|
2019-03-31 04:44:03 +02:00
|
|
|
group = APP_GROUP
|
2018-12-24 07:47:03 +01:00
|
|
|
|
2017-05-30 00:05:26 +02:00
|
|
|
android {
|
2019-07-03 23:01:19 +02:00
|
|
|
compileSdkVersion Versions.targetSdk
|
2019-06-07 20:52:55 +02:00
|
|
|
buildToolsVersion kau.Versions.buildTools
|
2017-05-30 00:05:26 +02:00
|
|
|
|
2017-07-02 20:57:57 +02:00
|
|
|
androidGitVersion {
|
2017-08-15 05:48:39 +02:00
|
|
|
codeFormat = 'MMNNPPXX'
|
2018-10-09 03:11:03 +02:00
|
|
|
format = '%tag%%-count%%-commit%'
|
2017-07-02 20:57:57 +02:00
|
|
|
prefix 'v'
|
|
|
|
}
|
|
|
|
|
2017-05-30 00:05:26 +02:00
|
|
|
defaultConfig {
|
2019-06-13 23:05:10 +02:00
|
|
|
applicationId "${project.APP_GROUP}.${project.APP_ID.toLowerCase(Locale.CANADA)}"
|
2019-06-07 20:52:55 +02:00
|
|
|
minSdkVersion kau.Versions.minSdk
|
2019-07-03 23:01:19 +02:00
|
|
|
targetSdkVersion Versions.targetSdk
|
2020-02-06 08:32:17 +01:00
|
|
|
versionCode 2040300
|
|
|
|
// versionCode androidGitVersion.code()
|
|
|
|
versionName '2.4.3'
|
|
|
|
// versionName androidGitVersion.name()
|
|
|
|
|
|
|
|
// Verification for F-Droid builds
|
|
|
|
if (versionCode != androidGitVersion.code()) {
|
|
|
|
throw new GradleException("Version code mismatch, expected ${androidGitVersion.code()}, got $versionCode")
|
|
|
|
}
|
|
|
|
if (versionName != androidGitVersion.name()) {
|
|
|
|
throw new GradleException("Version name mismatch, expected ${androidGitVersion.name()}, got $versionName")
|
|
|
|
}
|
2017-05-30 04:47:52 +02:00
|
|
|
multiDexEnabled true
|
2018-12-24 02:04:08 +01:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2019-03-06 00:31:47 +01:00
|
|
|
javaCompileOptions {
|
|
|
|
annotationProcessorOptions {
|
|
|
|
arguments = ["room.schemaLocation": "$projectDir/src/schemas".toString()]
|
|
|
|
}
|
|
|
|
}
|
2017-05-30 00:05:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
applicationVariants.all { variant ->
|
2017-08-04 07:21:51 +02:00
|
|
|
variant.outputs.all {
|
|
|
|
outputFileName = "${project.APP_ID}-${variant.buildType.name}.apk"
|
2017-05-30 00:05:26 +02:00
|
|
|
}
|
|
|
|
}
|
2017-06-02 03:09:43 +02:00
|
|
|
|
2017-07-19 09:28:56 +02:00
|
|
|
lintOptions {
|
|
|
|
warningsAsErrors true
|
2017-08-15 05:48:39 +02:00
|
|
|
disable 'TrustAllX509TrustManager',
|
2017-07-19 09:28:56 +02:00
|
|
|
'UnusedResources',
|
|
|
|
'ContentDescription',
|
2017-11-13 11:09:24 +01:00
|
|
|
'RtlSymmetry',
|
|
|
|
'MissingTranslation'
|
2017-11-09 07:54:12 +01:00
|
|
|
|
|
|
|
xmlReport false
|
|
|
|
textReport true
|
|
|
|
textOutput 'stdout'
|
2017-07-19 09:28:56 +02:00
|
|
|
}
|
|
|
|
|
2019-12-27 00:32:31 +01:00
|
|
|
viewBinding {
|
2019-07-03 23:01:19 +02:00
|
|
|
enabled = true
|
|
|
|
}
|
|
|
|
|
2018-09-26 20:56:44 +02:00
|
|
|
def testKeystoreFile = file('../files/test.keystore')
|
|
|
|
def testPropFile = file('../files/test.properties')
|
|
|
|
def withTestSigning = testKeystoreFile.exists() && testPropFile.exists()
|
|
|
|
|
|
|
|
def releaseKeystoreFile = file('../files/release.keystore')
|
|
|
|
def releasePropFile = file('../files/release.properties')
|
|
|
|
def withReleaseSigning = releaseKeystoreFile.exists() && releasePropFile.exists()
|
2018-04-09 07:17:21 +02:00
|
|
|
|
2017-06-02 03:09:43 +02:00
|
|
|
signingConfigs {
|
2017-07-03 02:24:17 +02:00
|
|
|
|
2018-02-17 03:51:02 +01:00
|
|
|
debug {
|
|
|
|
storeFile file("../files/debug.keystore")
|
|
|
|
storePassword "debugKey"
|
|
|
|
keyAlias "debugKey"
|
|
|
|
keyPassword "debugKey"
|
|
|
|
}
|
|
|
|
|
2018-09-26 20:56:44 +02:00
|
|
|
if (withTestSigning) {
|
|
|
|
def testProps = new Properties()
|
|
|
|
testPropFile.withInputStream { testProps.load(it) }
|
|
|
|
|
|
|
|
test {
|
|
|
|
storeFile testKeystoreFile
|
|
|
|
storePassword testProps.getProperty('storePassword')
|
|
|
|
keyAlias testProps.getProperty('keyAlias')
|
|
|
|
keyPassword testProps.getProperty('keyPassword')
|
|
|
|
}
|
2017-06-02 03:09:43 +02:00
|
|
|
}
|
2018-04-07 20:41:28 +02:00
|
|
|
|
2018-04-09 07:17:21 +02:00
|
|
|
if (withReleaseSigning) {
|
|
|
|
def releaseProps = new Properties()
|
2018-09-26 20:56:44 +02:00
|
|
|
releasePropFile.withInputStream { releaseProps.load(it) }
|
2018-04-09 07:17:21 +02:00
|
|
|
|
|
|
|
release {
|
2018-09-26 20:56:44 +02:00
|
|
|
storeFile releaseKeystoreFile
|
2018-04-09 07:17:21 +02:00
|
|
|
storePassword releaseProps.getProperty('storePassword')
|
|
|
|
keyAlias releaseProps.getProperty('keyAlias')
|
|
|
|
keyPassword releaseProps.getProperty('keyPassword')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-02 03:09:43 +02:00
|
|
|
}
|
|
|
|
|
2019-01-01 00:57:28 +01:00
|
|
|
def compilerArgs = ["-Xuse-experimental=kotlin.Experimental" /*, "-XXLanguage:+InlineClasses"*/]
|
|
|
|
|
2017-05-30 00:05:26 +02:00
|
|
|
buildTypes {
|
2017-06-02 03:09:43 +02:00
|
|
|
debug {
|
2017-06-04 07:24:19 +02:00
|
|
|
minifyEnabled false
|
|
|
|
shrinkResources false
|
2017-06-02 03:09:43 +02:00
|
|
|
applicationIdSuffix ".debug"
|
|
|
|
versionNameSuffix "-debug"
|
2018-02-17 03:51:02 +01:00
|
|
|
signingConfig signingConfigs.debug
|
2017-08-04 07:21:51 +02:00
|
|
|
resValue "string", "frost_name", "Frost Debug"
|
2017-06-21 00:50:08 +02:00
|
|
|
resValue "string", "frost_web", "Frost Web Debug"
|
2018-03-21 06:28:31 +01:00
|
|
|
ext.enableBugsnag = false
|
2018-12-27 08:15:10 +01:00
|
|
|
|
2019-01-01 00:57:28 +01:00
|
|
|
kotlinOptions.freeCompilerArgs += compilerArgs
|
2017-06-02 03:09:43 +02:00
|
|
|
}
|
|
|
|
releaseTest {
|
2017-06-04 08:03:23 +02:00
|
|
|
minifyEnabled true
|
|
|
|
shrinkResources true
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
2017-06-02 03:09:43 +02:00
|
|
|
applicationIdSuffix ".test"
|
|
|
|
versionNameSuffix "-test"
|
2018-09-26 20:56:44 +02:00
|
|
|
if (withTestSigning) signingConfig signingConfigs.test
|
2017-08-04 07:21:51 +02:00
|
|
|
resValue "string", "frost_name", "Frost Test"
|
2017-06-21 00:50:08 +02:00
|
|
|
resValue "string", "frost_web", "Frost Web Test"
|
2017-06-02 03:09:43 +02:00
|
|
|
}
|
2017-05-30 00:05:26 +02:00
|
|
|
release {
|
2017-07-01 07:50:58 +02:00
|
|
|
minifyEnabled true
|
|
|
|
shrinkResources true
|
2018-04-09 07:17:21 +02:00
|
|
|
if (withReleaseSigning) signingConfig signingConfigs.release
|
2017-05-30 00:05:26 +02:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
2017-08-04 07:21:51 +02:00
|
|
|
resValue "string", "frost_name", "Frost"
|
2017-06-21 00:50:08 +02:00
|
|
|
resValue "string", "frost_web", "Frost Web"
|
2017-05-30 00:05:26 +02:00
|
|
|
}
|
|
|
|
}
|
2017-06-02 03:09:43 +02:00
|
|
|
|
2017-05-30 00:05:26 +02:00
|
|
|
sourceSets {
|
|
|
|
main.java.srcDirs += 'src/main/kotlin'
|
2017-06-01 02:11:46 +02:00
|
|
|
test.java.srcDirs += 'src/test/kotlin'
|
2017-08-18 23:40:08 +02:00
|
|
|
androidTest.java.srcDirs += 'src/androidTest/kotlin'
|
2019-02-06 04:13:41 +01:00
|
|
|
main.assets.srcDirs += ['src/web/assets']
|
2017-05-30 00:05:26 +02:00
|
|
|
}
|
2017-06-13 01:51:27 +02:00
|
|
|
|
|
|
|
packagingOptions {
|
2019-06-07 21:43:22 +02:00
|
|
|
pickFirst 'META-INF/core_release.kotlin_module'
|
2017-06-13 01:51:27 +02:00
|
|
|
pickFirst 'META-INF/library_release.kotlin_module'
|
|
|
|
}
|
2018-11-19 03:28:25 +01:00
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
2019-12-31 09:03:23 +01:00
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
|
|
|
}
|
|
|
|
|
2019-01-01 00:57:28 +01:00
|
|
|
testOptions.unitTests {
|
|
|
|
includeAndroidResources = true
|
|
|
|
// Don't throw runtime exceptions for android calls that are not mocked
|
|
|
|
returnDefaultValues = true
|
|
|
|
|
|
|
|
// Always show the result of every unit test, even if it passes.
|
|
|
|
all {
|
|
|
|
testLogging {
|
|
|
|
events 'passed', 'skipped', 'failed', 'standardError'
|
|
|
|
}
|
2018-11-19 03:28:25 +01:00
|
|
|
}
|
|
|
|
}
|
2018-12-27 08:15:10 +01:00
|
|
|
|
2018-12-29 21:10:11 +01:00
|
|
|
androidExtensions {
|
|
|
|
experimental = true
|
2020-01-20 06:26:02 +01:00
|
|
|
features = ["parcelize"]
|
2018-12-29 21:10:11 +01:00
|
|
|
}
|
|
|
|
|
2017-05-30 00:05:26 +02:00
|
|
|
}
|
|
|
|
|
2019-07-03 09:06:02 +02:00
|
|
|
node {
|
2019-07-03 09:32:12 +02:00
|
|
|
version = '12.4.0'
|
|
|
|
npmVersion = '6.9.0'
|
2019-07-03 09:06:02 +02:00
|
|
|
download = true
|
|
|
|
nodeModulesDir = file("${project.projectDir}/src/web")
|
|
|
|
}
|
|
|
|
|
2019-07-03 09:59:15 +02:00
|
|
|
task npmCi(type: NpmTask) {
|
|
|
|
dependsOn npmSetup
|
|
|
|
npmCommand = ["ci"]
|
|
|
|
}
|
|
|
|
|
2019-07-03 09:06:02 +02:00
|
|
|
task frostWebGen(type: NpmTask) {
|
2019-07-03 09:59:15 +02:00
|
|
|
dependsOn npmCi
|
2019-07-03 09:55:33 +02:00
|
|
|
group 'build'
|
|
|
|
description 'Generate Frost web assets'
|
2019-07-03 09:06:02 +02:00
|
|
|
args = ['run', 'compile']
|
|
|
|
}
|
|
|
|
|
2019-07-03 09:12:25 +02:00
|
|
|
preBuild.dependsOn(frostWebGen)
|
|
|
|
|
2017-06-26 06:11:15 +02:00
|
|
|
repositories {
|
2017-08-04 07:21:51 +02:00
|
|
|
google()
|
2017-06-26 06:11:15 +02:00
|
|
|
jcenter()
|
|
|
|
maven { url "https://jitpack.io" }
|
|
|
|
}
|
|
|
|
|
2017-05-30 00:05:26 +02:00
|
|
|
dependencies {
|
2018-12-24 02:04:08 +01:00
|
|
|
implementation 'androidx.exifinterface:exifinterface:1.0.0'
|
2017-12-22 02:55:51 +01:00
|
|
|
|
2019-06-07 20:52:55 +02:00
|
|
|
androidTestImplementation kau.Dependencies.kotlinTest
|
|
|
|
androidTestImplementation kau.Dependencies.espresso
|
|
|
|
androidTestImplementation kau.Dependencies.testRules
|
|
|
|
androidTestImplementation kau.Dependencies.testRunner
|
2019-06-08 08:10:02 +02:00
|
|
|
androidTestImplementation kau.Dependencies.kotlinReflect
|
2018-12-24 02:04:08 +01:00
|
|
|
|
2019-06-07 20:52:55 +02:00
|
|
|
testImplementation kau.Dependencies.kotlinTest
|
2019-06-08 08:10:02 +02:00
|
|
|
testImplementation kau.Dependencies.kotlinReflect
|
2019-06-07 20:52:55 +02:00
|
|
|
testImplementation kau.Dependencies.junit
|
2017-08-18 23:40:08 +02:00
|
|
|
|
2019-06-08 08:10:02 +02:00
|
|
|
implementation kau.Dependencies.kotlin
|
2017-08-04 07:21:51 +02:00
|
|
|
|
|
|
|
//noinspection GradleDependency
|
2019-07-02 06:36:55 +02:00
|
|
|
implementation kau.Dependencies.kau('core', KAU)
|
2017-08-04 07:21:51 +02:00
|
|
|
//noinspection GradleDependency
|
2019-07-02 06:36:55 +02:00
|
|
|
implementation kau.Dependencies.kau('core-ui', KAU)
|
2017-08-04 07:21:51 +02:00
|
|
|
//noinspection GradleDependency
|
2019-07-02 06:36:55 +02:00
|
|
|
implementation kau.Dependencies.kau('adapter', KAU)
|
2017-08-04 07:21:51 +02:00
|
|
|
//noinspection GradleDependency
|
2019-07-02 08:32:45 +02:00
|
|
|
implementation kau.Dependencies.kau('fastadapter', KAU)
|
|
|
|
//noinspection GradleDependency
|
2019-07-02 06:36:55 +02:00
|
|
|
implementation kau.Dependencies.kau('about', KAU)
|
2017-08-04 07:21:51 +02:00
|
|
|
//noinspection GradleDependency
|
2019-07-02 06:36:55 +02:00
|
|
|
implementation kau.Dependencies.kau('colorpicker', KAU)
|
2017-08-04 07:21:51 +02:00
|
|
|
//noinspection GradleDependency
|
2019-07-02 06:36:55 +02:00
|
|
|
implementation kau.Dependencies.kau('mediapicker', KAU)
|
2017-08-04 07:21:51 +02:00
|
|
|
//noinspection GradleDependency
|
2019-07-02 06:36:55 +02:00
|
|
|
implementation kau.Dependencies.kau('kpref-activity', KAU)
|
2017-08-15 05:48:39 +02:00
|
|
|
//noinspection GradleDependency
|
2019-07-02 06:36:55 +02:00
|
|
|
implementation kau.Dependencies.kau('searchview', KAU)
|
2017-08-04 07:21:51 +02:00
|
|
|
|
2019-12-08 09:29:40 +01:00
|
|
|
implementation kau.Dependencies.coreKtx
|
|
|
|
implementation kau.Dependencies.swipeRefreshLayout
|
2018-12-26 04:27:23 +01:00
|
|
|
|
2019-06-08 08:10:02 +02:00
|
|
|
implementation "androidx.biometric:biometric:${Versions.andxBiometric}"
|
2019-04-22 02:20:21 +02:00
|
|
|
|
2019-06-08 08:10:02 +02:00
|
|
|
implementation "org.koin:koin-android:${Versions.koin}"
|
|
|
|
testImplementation "org.koin:koin-test:${Versions.koin}"
|
|
|
|
androidTestImplementation "org.koin:koin-test:${Versions.koin}"
|
2018-12-26 04:14:56 +01:00
|
|
|
|
2019-06-08 08:10:02 +02:00
|
|
|
// androidTestImplementation "io.mockk:mockk:${Versions.mockk}"
|
2018-12-26 04:14:56 +01:00
|
|
|
|
2019-06-08 08:10:02 +02:00
|
|
|
implementation kau.Dependencies.coroutines
|
2018-12-21 05:12:41 +01:00
|
|
|
|
2019-06-08 08:10:02 +02:00
|
|
|
implementation "org.apache.commons:commons-text:${Versions.apacheCommonsText}"
|
2017-08-19 05:25:26 +02:00
|
|
|
|
2019-06-08 08:10:02 +02:00
|
|
|
implementation "com.devbrackets.android:exomedia:${Versions.exoMedia}"
|
2017-10-25 05:29:55 +02:00
|
|
|
|
2019-09-23 07:36:16 +02:00
|
|
|
implementation kau.Dependencies.fastAdapter("diff")
|
|
|
|
implementation kau.Dependencies.fastAdapter("drag")
|
|
|
|
implementation kau.Dependencies.fastAdapter("expandable")
|
2017-12-11 23:52:24 +01:00
|
|
|
|
2018-04-07 20:41:28 +02:00
|
|
|
//noinspection GradleDependency
|
2019-06-08 08:10:02 +02:00
|
|
|
implementation kau.Dependencies.glide
|
2018-04-07 20:41:28 +02:00
|
|
|
//noinspection GradleDependency
|
2019-06-08 08:10:02 +02:00
|
|
|
kapt kau.Dependencies.glideKapt
|
2017-12-30 05:37:10 +01:00
|
|
|
|
2017-08-30 20:11:16 +02:00
|
|
|
//noinspection GradleDependency
|
2019-06-08 08:10:02 +02:00
|
|
|
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${Versions.leakCanary}"
|
2017-08-30 20:11:16 +02:00
|
|
|
//noinspection GradleDependency
|
2019-06-08 08:10:02 +02:00
|
|
|
releaseTestImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${Versions.leakCanary}"
|
2017-08-30 20:11:16 +02:00
|
|
|
//noinspection GradleDependency
|
2019-06-08 08:10:02 +02:00
|
|
|
debugImplementation "com.squareup.leakcanary:leakcanary-android:${Versions.leakCanary}"
|
|
|
|
// testImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${Versions.leakCanary}"
|
2017-08-04 07:21:51 +02:00
|
|
|
|
2017-05-30 00:05:26 +02:00
|
|
|
//Icons
|
2019-06-08 08:10:02 +02:00
|
|
|
implementation kau.Dependencies.iconicsMaterial
|
|
|
|
implementation kau.Dependencies.iconicsCommunity
|
2017-05-30 00:05:26 +02:00
|
|
|
|
2019-12-30 21:18:46 +01:00
|
|
|
implementation kau.Dependencies.materialDialog("input")
|
|
|
|
|
2019-06-08 08:10:02 +02:00
|
|
|
implementation "org.jsoup:jsoup:${Versions.jsoup}"
|
2017-05-30 10:03:01 +02:00
|
|
|
|
2019-06-08 08:10:02 +02:00
|
|
|
implementation "com.squareup.okhttp3:okhttp:${Versions.okhttp}"
|
|
|
|
implementation "com.squareup.okhttp3:logging-interceptor:${Versions.okhttp}"
|
|
|
|
testImplementation "com.squareup.okhttp3:mockwebserver:${Versions.okhttp}"
|
|
|
|
androidTestImplementation "com.squareup.okhttp3:mockwebserver:${Versions.okhttp}"
|
2018-12-26 04:14:56 +01:00
|
|
|
|
2019-06-08 08:10:02 +02:00
|
|
|
implementation kau.Dependencies.bugsnag
|
2017-07-17 02:26:58 +02:00
|
|
|
|
2019-06-08 08:10:02 +02:00
|
|
|
implementation "com.davemorrissey.labs:subsampling-scale-image-view:${Versions.scaleImageView}"
|
2017-07-17 02:26:58 +02:00
|
|
|
|
2019-06-08 08:10:02 +02:00
|
|
|
implementation "androidx.room:room-ktx:${Versions.room}"
|
|
|
|
implementation "androidx.room:room-runtime:${Versions.room}"
|
|
|
|
kapt "androidx.room:room-compiler:${Versions.room}"
|
|
|
|
testImplementation "androidx.room:room-testing:${Versions.room}"
|
2019-03-06 00:31:47 +01:00
|
|
|
|
2018-03-21 06:28:31 +01:00
|
|
|
}
|
|
|
|
|
2019-01-04 05:50:46 +01:00
|
|
|
// Validates code and generates apk
|
|
|
|
task createGithubReleaseApk(type: GradleBuild) {
|
|
|
|
tasks = ['spotlessCheck',
|
|
|
|
'lintRelease',
|
|
|
|
'testReleaseUnitTest',
|
|
|
|
'connectedAndroidTest',
|
|
|
|
'assembleRelease']
|
|
|
|
}
|
|
|
|
|
2018-11-19 03:28:25 +01:00
|
|
|
def kotlinResolutions = ['kotlin-reflect',
|
|
|
|
'kotlin-stdlib',
|
|
|
|
'kotlin-stdlib-jdk7',
|
|
|
|
'kotlin-stdlib-jdk8',
|
|
|
|
'kotlin-test',
|
|
|
|
'kotlin-test-junit4',
|
|
|
|
'kotlin-test-junit5']
|
|
|
|
|
|
|
|
configurations.all {
|
|
|
|
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
|
|
|
|
def requested = details.requested
|
|
|
|
if (requested.group == 'org.jetbrains.kotlin' && requested.name in kotlinResolutions) {
|
2019-06-08 08:10:02 +02:00
|
|
|
details.useVersion kau.Versions.kotlin
|
2018-11-19 03:28:25 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-21 06:28:31 +01:00
|
|
|
apply plugin: 'com.bugsnag.android.gradle'
|