Skip to content

Commit

Permalink
Adapt to AGP 8.2
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Scherzinger <[email protected]>
  • Loading branch information
AndyScherzinger committed Dec 2, 2023
1 parent 13cf2e5 commit eb4c39a
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 9 deletions.
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
android.nonFinalResIds=false
android.nonTransitiveRClass=false
android.useAndroidX=true
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 @@
#Fri Mar 10 15:14:55 CET 2023
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
2 changes: 1 addition & 1 deletion jitpack.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
jdk: openjdk11
jdk: openjdk17
14 changes: 11 additions & 3 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,14 @@ android {

compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

publishing {
singleVariant('release') {
withSourcesJar()
}
}

productFlavors { }
Expand Down Expand Up @@ -132,10 +138,12 @@ afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
components.getByName('release')

groupId = 'com.nextcloud.android.sso'
artifactId = 'master'

from components.release
}
}
}
Expand Down
7 changes: 3 additions & 4 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apply plugin: 'com.android.application'
android {
namespace 'com.nextcloud.android.sso.sample'

compileSdkVersion 33
buildToolsVersion "32.0.0"
compileSdk 33

defaultConfig {
applicationId "com.nextcloud.android.sso.sample"
Expand All @@ -24,8 +23,8 @@ android {
}
compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
}

Expand Down

0 comments on commit eb4c39a

Please sign in to comment.