diff --git a/app/build.gradle b/app/build.gradle index 6994fba..cf1ec0d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,6 +1,5 @@ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' -apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' def keystorePropertiesFile = rootProject.file("keystore.properties") @@ -10,12 +9,13 @@ if (keystorePropertiesFile.exists()) { } android { - compileSdk 33 + namespace "com.simplemobiletools.keyboard" + compileSdk 34 defaultConfig { applicationId "com.simplemobiletools.keyboard" minSdk 23 - targetSdk 33 + targetSdk 34 versionCode 22 versionName "5.4.7" multiDexEnabled true @@ -34,6 +34,11 @@ android { } } + buildFeatures { + buildConfig true + viewBinding true + } + buildTypes { debug { applicationIdSuffix ".debug" @@ -47,7 +52,16 @@ android { } } - flavorDimensions "variants" + compileOptions { + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 + } + + kotlinOptions { + jvmTarget = '17' + } + + flavorDimensions = ["variants"] productFlavors { core {} fdroid {} @@ -65,7 +79,7 @@ android { } dependencies { - implementation 'com.github.SimpleMobileTools:Simple-Commons:2d4e07e5f4' + implementation 'com.github.SimpleMobileTools:Simple-Commons:d1629c7f1a' implementation 'androidx.emoji2:emoji2-bundled:1.2.0' implementation 'androidx.autofill:autofill:1.1.0' diff --git a/build.gradle b/build.gradle index 94400f3..4de00de 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.7.10' + ext.kotlin_version = '1.9.0' repositories { google() @@ -9,7 +9,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:7.3.1' + classpath 'com.android.tools.build:gradle:8.1.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // NOTE: Do not place your application dependencies here; they belong diff --git a/gradle.properties b/gradle.properties index dbb7bf7..d1e2283 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,4 @@ android.enableJetifier=true android.useAndroidX=true +android.nonTransitiveRClass=false +org.gradle.jvmargs=-Xmx4g diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 3014176..e9e3229 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Tue Jan 04 09:48:27 CET 2022 distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME