Skip to content

Commit

Permalink
Updated Android Gradle version to 8.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
martenrebane committed Aug 8, 2023
1 parent bf5f509 commit d01d866
Show file tree
Hide file tree
Showing 12 changed files with 89 additions and 49 deletions.
18 changes: 11 additions & 7 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'com.google.firebase.crashlytics'

android {
namespace 'ee.ria.DigiDoc'
compileSdkVersion project.compileSdkVersion
compileSdk project.compileSdkVersion

defaultConfig {
minSdkVersion project.minSdkVersion
Expand Down Expand Up @@ -59,16 +59,20 @@ android {
}
}

lintOptions {
lintConfig file('../lint.xml')
checkReleaseBuilds false
abortOnError false
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

lint {
abortOnError false
checkReleaseBuilds false
lintConfig file('../lint.xml')
}

buildFeatures {
buildConfig = true
}
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ allprojects {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.2'
classpath 'com.android.tools.build:gradle:8.1.0'
classpath "com.google.gms:google-services:4.3.15"
classpath "com.google.firebase:firebase-crashlytics-gradle:2.9.2"
}
Expand Down
14 changes: 9 additions & 5 deletions common-lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,25 @@ apply plugin: LibdigidocppPlugin

android {
namespace 'ee.ria.DigiDoc.common'
compileSdkVersion project.compileSdkVersion
compileSdk project.compileSdkVersion

defaultConfig {
minSdkVersion project.minSdkVersion
targetSdkVersion project.targetSdkVersion
}

lintOptions {
lintConfig file('../lint.xml')
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

lint {
lintConfig file('../lint.xml')
}

buildFeatures {
buildConfig = true
}
}

dependencies {
Expand Down
16 changes: 10 additions & 6 deletions configuration-lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.library'

android {
namespace 'ee.ria.DigiDoc.configuration'
compileSdkVersion project.compileSdkVersion
compileSdk project.compileSdkVersion

defaultConfig {
minSdkVersion project.minSdkVersion
Expand All @@ -11,11 +11,6 @@ android {
testInstrumentationRunnerArguments clearPackageData: 'true'
}

lintOptions {
checkReleaseBuilds false
abortOnError false
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
Expand All @@ -24,6 +19,15 @@ android {
testOptions {
unitTests.returnDefaultValues = true
}

lint {
abortOnError false
checkReleaseBuilds false
}

buildFeatures {
buildConfig = true
}
}

dependencies {
Expand Down
14 changes: 9 additions & 5 deletions crypto-lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,13 @@ apply plugin: 'com.android.library'

android {
namespace 'ee.ria.DigiDoc.crypto'
compileSdkVersion project.compileSdkVersion
compileSdk project.compileSdkVersion

defaultConfig {
minSdkVersion project.minSdkVersion
targetSdkVersion project.targetSdkVersion
}

lintOptions {
lintConfig file('../lint.xml')
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
Expand All @@ -21,6 +17,14 @@ android {
testOptions {
unitTests.returnDefaultValues = true
}

lint {
lintConfig file('../lint.xml')
}

buildFeatures {
buildConfig = true
}
}

dependencies {
Expand Down
4 changes: 3 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ appVersionName=2.6.0

appAbiFilters=arm64-v8a;armeabi-v7a;x86;x86_64

org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
android.useAndroidX=true
android.enableJetifier=true
android.jetifier.ignorelist=bcprov-jdk15on
android.nonTransitiveRClass=false
android.nonFinalResIds=false
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Tue Jan 24 11:17:49 EET 2023
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
14 changes: 9 additions & 5 deletions id-card-lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,25 @@ apply plugin: 'com.android.library'

android {
namespace 'ee.ria.DigiDoc.idcard'
compileSdkVersion project.compileSdkVersion
compileSdk project.compileSdkVersion

defaultConfig {
minSdkVersion project.minSdkVersion
targetSdkVersion project.targetSdkVersion
}

lintOptions {
lintConfig file('../lint.xml')
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

lint {
lintConfig file('../lint.xml')
}

buildFeatures {
buildConfig = true
}
}

dependencies {
Expand Down
13 changes: 9 additions & 4 deletions mobile-id-lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,25 @@ apply plugin: 'com.android.library'

android {
namespace 'ee.ria.DigiDoc.mobileid'
compileSdkVersion project.compileSdkVersion
compileSdk project.compileSdkVersion

defaultConfig {
minSdkVersion project.minSdkVersion
targetSdkVersion project.targetSdkVersion
}

lintOptions {
lintConfig file('../lint.xml')
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

lint {
lintConfig file('../lint.xml')
}

buildFeatures {
buildConfig = true
}
}

dependencies {
Expand Down
14 changes: 9 additions & 5 deletions sign-lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,14 @@ apply plugin: LibdigidocppPlugin

android {
namespace 'ee.ria.DigiDoc.sign'
compileSdkVersion project.compileSdkVersion
compileSdk project.compileSdkVersion

defaultConfig {
minSdkVersion project.minSdkVersion
targetSdkVersion project.targetSdkVersion
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
}

lintOptions {
lintConfig file('../lint.xml')
}

testOptions {
execution 'ANDROIDX_TEST_ORCHESTRATOR'
}
Expand All @@ -25,6 +21,14 @@ android {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

lint {
lintConfig file('../lint.xml')
}

buildFeatures {
buildConfig = true
}
}

dependencies {
Expand Down
14 changes: 9 additions & 5 deletions smart-card-reader-lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,25 @@ apply plugin: 'com.android.library'

android {
namespace 'ee.ria.DigiDoc.smartcardreader'
compileSdkVersion project.compileSdkVersion
compileSdk project.compileSdkVersion

defaultConfig {
minSdkVersion project.minSdkVersion
targetSdkVersion project.targetSdkVersion
}

lintOptions {
lintConfig file('../lint.xml')
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

lint {
lintConfig file('../lint.xml')
}

buildFeatures {
buildConfig = true
}
}

dependencies {
Expand Down
13 changes: 9 additions & 4 deletions smart-id-lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,25 @@ apply plugin: 'com.android.library'

android {
namespace 'ee.ria.DigiDoc.smartid'
compileSdkVersion project.compileSdkVersion
compileSdk project.compileSdkVersion

defaultConfig {
minSdkVersion project.minSdkVersion
targetSdkVersion project.targetSdkVersion
}

lintOptions {
lintConfig file('../lint.xml')
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

lint {
lintConfig file('../lint.xml')
}

buildFeatures {
buildConfig = true
}
}

dependencies {
Expand Down

0 comments on commit d01d866

Please sign in to comment.