Skip to content

Commit 93d6f8a

Browse files
committed
fix: module flavors
1 parent 3ea4aea commit 93d6f8a

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

networkmonitor/build.gradle.kts

+10-3
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,20 @@ android {
1919
isMinifyEnabled = false
2020
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
2121
}
22+
create(Constants.PRERELEASE) {
23+
initWith(getByName(Constants.RELEASE))
24+
}
25+
26+
create(Constants.NIGHTLY) {
27+
initWith(getByName(Constants.RELEASE))
28+
}
2229
}
2330
compileOptions {
24-
sourceCompatibility = JavaVersion.VERSION_11
25-
targetCompatibility = JavaVersion.VERSION_11
31+
sourceCompatibility = JavaVersion.VERSION_17
32+
targetCompatibility = JavaVersion.VERSION_17
2633
}
2734
kotlinOptions {
28-
jvmTarget = "11"
35+
jvmTarget = Constants.JVM_TARGET
2936
}
3037
}
3138

versionCode.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3
1+
4

0 commit comments

Comments
 (0)