diff --git a/app/build.gradle.kts b/app/build.gradle.kts index a349bd88..5e06a75d 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -14,7 +14,6 @@ plugins { android { namespace = Constants.APP_ID compileSdk = Constants.TARGET_SDK - compileSdkPreview = "VanillaIceCream" androidResources { generateLocaleConfig = true @@ -109,14 +108,7 @@ android { debug { isDebuggable = true } create(Constants.NIGHTLY) { - isDebuggable = false - isMinifyEnabled = true - isShrinkResources = true - proguardFiles( - getDefaultProguardFile("proguard-android-optimize.txt"), - "proguard-rules.pro", - ) - signingConfig = signingConfigs.getByName(Constants.RELEASE) + initWith(buildTypes.getByName(Constants.RELEASE)) defaultConfig.versionName = nightlyVersionName() defaultConfig.versionCode = nightlyVersionCode() } diff --git a/buildSrc/src/main/kotlin/Constants.kt b/buildSrc/src/main/kotlin/Constants.kt index 2c3b2b01..b524fc2d 100644 --- a/buildSrc/src/main/kotlin/Constants.kt +++ b/buildSrc/src/main/kotlin/Constants.kt @@ -2,7 +2,7 @@ object Constants { const val VERSION_NAME = "3.4.8" const val JVM_TARGET = "17" const val VERSION_CODE = 34800 - const val TARGET_SDK = 34 + const val TARGET_SDK = 35 const val MIN_SDK = 26 const val APP_ID = "com.zaneschepke.wireguardautotunnel" const val APP_NAME = "wgtunnel"