Make uhabits-core a Kotlin multiplatform module

This commit is contained in:
2021-01-03 10:21:28 -06:00
parent cb6843e08b
commit d8fcc9160d
210 changed files with 130 additions and 93 deletions

View File

@@ -3,7 +3,7 @@ plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-kapt'
id 'com.github.triplet.play' version '2.6.2'
//id 'com.github.triplet.play' version '2.6.2'
id 'kotlin-android-extensions'
}
@@ -92,7 +92,7 @@ dependencies {
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0'
androidTestImplementation 'androidx.test:rules:1.3.0'
androidTestImplementation project(":uhabits-core")
androidTestImplementation project(':uhabits-core-legacy')
annotationProcessor "com.google.auto.factory:auto-factory:$AUTO_FACTORY_VERSION"
compileOnly "com.google.auto.factory:auto-factory:$AUTO_FACTORY_VERSION"
compileOnly "javax.annotation:jsr250-api:1.0"
@@ -114,7 +114,7 @@ dependencies {
implementation 'com.google.android.material:material:1.2.1'
implementation 'com.google.zxing:core:3.4.1'
implementation 'com.opencsv:opencsv:3.10'
implementation project(":uhabits-core")
implementation project(':uhabits-core-legacy')
implementation project(":android-pickers")
kapt "com.google.dagger:dagger-compiler:$DAGGER_VERSION"
kaptAndroidTest "com.google.dagger:dagger-compiler:$DAGGER_VERSION"
@@ -128,7 +128,7 @@ kapt {
correctErrorTypes = true
}
play {
serviceAccountCredentials = file("../../.secret/gcp-key.json")
track = "alpha"
}
//play {
// serviceAccountCredentials = file("../../.secret/gcp-key.json")
// track = "alpha"
//}