From 93d6f8aa45987ed5d5aa5c8c28f5643244c8ce2c Mon Sep 17 00:00:00 2001 From: Zane Schepke Date: Sat, 1 Mar 2025 21:07:47 -0500 Subject: [PATCH] fix: module flavors --- networkmonitor/build.gradle.kts | 13 ++++++++++--- versionCode.txt | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/networkmonitor/build.gradle.kts b/networkmonitor/build.gradle.kts index 0c14c1d7..1b9ffd4b 100644 --- a/networkmonitor/build.gradle.kts +++ b/networkmonitor/build.gradle.kts @@ -19,13 +19,20 @@ android { isMinifyEnabled = false proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") } + create(Constants.PRERELEASE) { + initWith(getByName(Constants.RELEASE)) + } + + create(Constants.NIGHTLY) { + initWith(getByName(Constants.RELEASE)) + } } compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } kotlinOptions { - jvmTarget = "11" + jvmTarget = Constants.JVM_TARGET } } diff --git a/versionCode.txt b/versionCode.txt index e440e5c8..bf0d87ab 100644 --- a/versionCode.txt +++ b/versionCode.txt @@ -1 +1 @@ -3 \ No newline at end of file +4 \ No newline at end of file