Skip to content

Commit df86595

Browse files
committed
♻️ :: modify common gradle
1 parent a7adc6b commit df86595

File tree

1 file changed

+5
-35
lines changed

1 file changed

+5
-35
lines changed

core/common/build.gradle.kts

Lines changed: 5 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,13 @@
1+
@Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
12
plugins {
2-
alias(libs.plugins.android.library)
3-
alias(libs.plugins.org.jetbrains.kotlin.android)
3+
id("stackknowledge.android.core")
4+
id("stackknowledge.android.hilt")
45
}
56

67
android {
7-
namespace = "com.example.common"
8-
compileSdk = 34
9-
10-
defaultConfig {
11-
minSdk = 24
12-
13-
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
14-
consumerProguardFiles("consumer-rules.pro")
15-
}
16-
17-
buildTypes {
18-
release {
19-
isMinifyEnabled = false
20-
proguardFiles(
21-
getDefaultProguardFile("proguard-android-optimize.txt"),
22-
"proguard-rules.pro"
23-
)
24-
}
25-
}
26-
compileOptions {
27-
sourceCompatibility = JavaVersion.VERSION_1_8
28-
targetCompatibility = JavaVersion.VERSION_1_8
29-
}
30-
kotlinOptions {
31-
jvmTarget = "1.8"
32-
}
8+
namespace = "com.stackknowledge.common"
339
}
3410

3511
dependencies {
36-
37-
implementation(libs.androidx.core.ktx)
38-
implementation(libs.androidx.appcompat)
39-
implementation(libs.material)
40-
testImplementation(libs.junit)
41-
androidTestImplementation(libs.androidx.test.ext.junit)
42-
androidTestImplementation(libs.androidx.test.espresso.core)
12+
testImplementation(libs.kotlinx.coroutines.test)
4313
}

0 commit comments

Comments
 (0)