diff --git a/.gitignore b/.gitignore index 66057054e..8dac68273 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ node_modules *xcuserdata* *.sketch crowdin.yml +kotlin-js-store diff --git a/build.gradle.kts b/build.gradle.kts index c871a1ca6..e856455e8 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,6 +1,6 @@ plugins { val kotlinVersion = "1.8.20" - id("com.android.application") version "7.4.2" apply (false) + id("com.android.application") version "8.1.4" apply (false) id("org.jetbrains.kotlin.android") version kotlinVersion apply (false) id("org.jetbrains.kotlin.kapt") version kotlinVersion apply (false) id("org.jetbrains.kotlin.multiplatform") version kotlinVersion apply (false) diff --git a/gradle.properties b/gradle.properties index b54c6c097..cfc7ec4b1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,3 +3,6 @@ org.gradle.daemon=true org.gradle.jvmargs=-Xms2048m -Xmx2048m android.useAndroidX=true android.enableJetifier=true +android.defaults.buildfeatures.buildconfig=true +android.nonTransitiveRClass=false +android.nonFinalResIds=false diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 8049c684f..e411586a5 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/uhabits-android/build.gradle.kts b/uhabits-android/build.gradle.kts index 12c91c3f2..d12b022d1 100644 --- a/uhabits-android/build.gradle.kts +++ b/uhabits-android/build.gradle.kts @@ -19,7 +19,7 @@ plugins { id("com.github.triplet.play") version "3.8.4" - id("com.android.application") version "7.4.2" + id("com.android.application") version "8.1.4" id("org.jetbrains.kotlin.android") id("org.jetbrains.kotlin.kapt") id("org.jlleitschuh.gradle.ktlint") @@ -42,6 +42,7 @@ kotlin { android { + namespace = "org.isoron.uhabits" compileSdk = 33 defaultConfig { diff --git a/uhabits-android/src/main/AndroidManifest.xml b/uhabits-android/src/main/AndroidManifest.xml index 0741f7abe..ab33ce9a2 100644 --- a/uhabits-android/src/main/AndroidManifest.xml +++ b/uhabits-android/src/main/AndroidManifest.xml @@ -16,8 +16,7 @@ ~ You should have received a copy of the GNU General Public License along ~ with this program. If not, see . --> - +