Skip to content

Commit

Permalink
update the Android Gradle plugin to v7.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Mar 19, 2024
1 parent a929582 commit 3004c5d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
- tools
script:
- date
- echo y | sdkmanager "ndk;21.3.6528147" > /dev/null
- echo y | sdkmanager "ndk;23.1.7779620" > /dev/null
- sudo update-java-alternatives --set /usr/lib/jvm/java-1.11.0-openjdk-amd64
- export JAVA_HOME=/usr/lib/jvm/java-1.11.0-openjdk-amd64
- ./gradlew copyToDist --build-file=android.gradle --console=plain --no-daemon
Expand Down
11 changes: 6 additions & 5 deletions android.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

buildscript {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
}
}
apply plugin: 'com.android.library'

plugins {
id 'com.android.library' version '7.4.0'
}

String flavor = 'Sp'
if (project.hasProperty('flavor')) {
Expand All @@ -35,7 +36,7 @@ android {
externalNativeBuild.ndkBuild {
path 'Android.mk'
}
ndkVersion '21.3.6528147'
ndkVersion '23.1.7779620'
}

dependencies {
Expand Down

0 comments on commit 3004c5d

Please sign in to comment.