|
|
@@ -0,0 +1,58 @@
|
|
|
+plugins {
|
|
|
+ id 'com.android.dynamic-feature'
|
|
|
+ id 'org.jetbrains.kotlin.android'
|
|
|
+ id 'org.jetbrains.kotlin.kapt'
|
|
|
+ id 'kotlin-parcelize'
|
|
|
+}
|
|
|
+
|
|
|
+android {
|
|
|
+ namespace 'com.adealink.weparty.share'
|
|
|
+ compileSdk libs.versions.compileSdk.get().toInteger()
|
|
|
+
|
|
|
+ defaultConfig {
|
|
|
+ minSdk libs.versions.minSdk.get().toInteger()
|
|
|
+
|
|
|
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
+ consumerProguardFiles "consumer-rules.pro"
|
|
|
+ javaCompileOptions {
|
|
|
+ annotationProcessorOptions {
|
|
|
+ arguments += [
|
|
|
+ "room.schemaLocation" : "$projectDir/schemas".toString(),
|
|
|
+ "room.incremental" : "true",
|
|
|
+ "room.expandProjection": "true"]
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ buildTypes {
|
|
|
+ release {
|
|
|
+ debuggable false
|
|
|
+ }
|
|
|
+ }
|
|
|
+ viewBinding {
|
|
|
+ enabled = true
|
|
|
+ }
|
|
|
+ compileOptions {
|
|
|
+ sourceCompatibility JavaVersion.VERSION_17
|
|
|
+ targetCompatibility JavaVersion.VERSION_17
|
|
|
+ }
|
|
|
+
|
|
|
+ kotlinOptions {
|
|
|
+ jvmTarget = JavaVersion.VERSION_17.majorVersion
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+dependencies {
|
|
|
+ implementation project(":app")
|
|
|
+ //frame
|
|
|
+ kapt libs.frame.router.compiler
|
|
|
+
|
|
|
+ implementation libs.zxing
|
|
|
+
|
|
|
+ //test
|
|
|
+ testImplementation libs.junit
|
|
|
+ androidTestImplementation libs.androidx.junit
|
|
|
+ androidTestImplementation libs.androidx.espresso.core
|
|
|
+}
|