Skip to content

Commit

Permalink
Build with SDK 33, Gradle 8.1.1 and Android tools 8.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
agologan committed May 21, 2023
1 parent 5966cc7 commit d19c7d3
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 14 deletions.
4 changes: 1 addition & 3 deletions app/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
* express or implied. See the License for the specific language governing permissions and
* limitations under the License.
-->
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="net.openid.appauthdemo" >
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.INTERNET" />

Expand Down
1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apply from: '../config/android-common.gradle'
apply from: '../config/keystore.gradle'

android {
namespace 'net.openid.appauthdemo'
defaultConfig {
applicationId 'net.openid.appauthdemo'
project.archivesBaseName = 'appauth-demoapp'
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.1'
classpath 'com.android.tools.build:gradle:8.0.1'
classpath 'org.ajoberstar.grgit:grgit-gradle:4.1.1'
classpath 'org.jacoco:org.jacoco.core:0.8.7'
}
Expand Down Expand Up @@ -41,7 +41,7 @@ try {

project.ext {
minSdkVersion = 16
compileSdkVersion = 31
compileSdkVersion = 33

googleVersions = [
glide : '4.12.0',
Expand Down
3 changes: 2 additions & 1 deletion config/android-common.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
android {
namespace 'net.openid.appauth'
compileSdkVersion rootProject.compileSdkVersion
defaultConfig {
minSdkVersion rootProject.minSdkVersion
Expand Down Expand Up @@ -41,7 +42,7 @@ task jar(type: Copy, dependsOn:'bundleRelease') {
// produces a JAR containing sources
task sourcesJar(type: Jar, dependsOn:'generateReleaseSources') {
from android.sourceSets.main.java.srcDirs
classifier = 'sources'
archiveClassifier = 'sources'
}

tasks.withType(JavaCompile) {
Expand Down
4 changes: 2 additions & 2 deletions config/coverage.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ task jacocoTestReport(type: JacocoReport, dependsOn: "testDebugUnitTest") {
group = "Reporting"
description = "Generate Jacoco coverage reports after running tests."
reports {
xml.enabled = true
html.enabled = true
xml.required.set(true)
html.required.set(true)
}
// Class R is used, but usage will not be covered, so ignore this class from report
afterEvaluate {
Expand Down
4 changes: 2 additions & 2 deletions config/javadoc.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies {
task androidJavadoc(type: JavaExec) {
jvmArgs = ['--add-exports=jdk.javadoc/jdk.javadoc.internal.tool=ALL-UNNAMED']
classpath files(project.android.getBootClasspath())
main = 'jdk.javadoc.internal.tool.Main'
mainClass = 'jdk.javadoc.internal.tool.Main'
ext.destinationDir = file("${project.buildDir}/docs/javadoc")
args = ['-doctitle', "AppAuth for Android",
'-use',
Expand All @@ -25,7 +25,7 @@ task androidJavadoc(type: JavaExec) {
}

task javadocJar(type: Jar, dependsOn: androidJavadoc) {
classifier = 'javadoc'
archiveClassifier = 'javadoc'
from androidJavadoc.ext.destinationDir
}

Expand Down
2 changes: 1 addition & 1 deletion config/style.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ task checkAllSource(type: Checkstyle) {
afterEvaluate {
source 'java'
include '**/*.java'
classpath = files project.configurations.compile.files
classpath = files()
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Sat Jun 13 20:20:21 CEST 2020
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-all.zip
3 changes: 1 addition & 2 deletions library/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
* express or implied. See the License for the specific language governing permissions and
* limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.openid.appauth">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.INTERNET" />

Expand Down

0 comments on commit d19c7d3

Please sign in to comment.