Skip to content

Commit

Permalink
Update to Android Gradle plugin version 8.2.0 (closes #1003)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsmith committed Dec 11, 2023
1 parent 2e5c235 commit 3a9af39
Show file tree
Hide file tree
Showing 12 changed files with 33 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/10-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Before creating a new issue, please check if your question has already been answ
<!-- The version of com.chaquo.python:gradle in your app's top-level build.gradle file. -->

#### Relevant parts of your build.gradle file
<!-- Please at least include the "python" and "ndk" sections. -->
<!-- Please include at least the "chaquopy", "python" and "ndk" sections. -->

#### Describe your issue
<!-- If reporting a build failure, please include the complete build log:
Expand Down
5 changes: 2 additions & 3 deletions demo/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion demo/.idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions demo/.idea/migrations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions demo/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Top-level build file where you can add configuration options common to all
// sub-projects/modules.
plugins {
id("com.android.application") version "8.1.4" apply false
id("org.jetbrains.kotlin.android") version "1.8.10" apply false
id("com.android.application") version "8.2.0" apply false
id("org.jetbrains.kotlin.android") version "1.9.0" apply false

// com.chaquo.python is declared in settings.gradle.kts, because dynamic versions
// are not possible here. See
Expand Down
2 changes: 1 addition & 1 deletion demo/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
2 changes: 1 addition & 1 deletion product/gradle-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ After stable release:
will be dealt with during the next release (see release/README.md).
* In Android Studio, run Tools > AGP Upgrade Assistant.
* Update all items from the "base" directory above.
* Update .gitignore file, and git rm any newly-ignored files.
* Update .gitignore from the new project wizard, and git rm any newly-ignored files.
* Test the app.
* Sync the "product" project in the new Android Studio version in case of any .idea file
updates, but see the note in product/gradle/wrapper/gradle-wrapper.properties before
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# The test script uses this to set JAVA_HOME.
chaquopy.java.version=17

agpVersion=8.2.0-rc03
agpVersion=8.2.0

# These variables will be filled in by the test script.
chaquopyRepository=
Expand Down
5 changes: 2 additions & 3 deletions server/pypi/pkgtest/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions server/pypi/pkgtest/.idea/migrations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/pypi/pkgtest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.1.4'
classpath 'com.android.tools.build:gradle:8.2.0'
classpath "com.chaquo.python:gradle:" + (chaquopyVersion ?: "+")
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip

0 comments on commit 3a9af39

Please sign in to comment.