Skip to content

Commit 54e4393

Browse files
committed
Android Gradle Wrapper
1 parent 3843816 commit 54e4393

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

scripts/templates/android/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
mavenCentral()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:8.9.1'
10+
classpath 'com.android.tools.build:gradle:8.9.3'
1111
}
1212
}
1313

@@ -30,7 +30,7 @@ final ofLibProject = ofMainRoot() + 'libs/openFrameworksCompiled/project/android
3030

3131
task printPaths {
3232
doLast {
33-
println "🔍 Checking Paths..."
33+
println "Checking Paths..."
3434
println "OF Source: ${file(ofSource).absolutePath}"
3535
println "OF Lib Output: ${file(ofLibProject).absolutePath}"
3636
println "Current Working Directory: ${projectDir.absolutePath}"
@@ -40,16 +40,16 @@ task printPaths {
4040
task checkGradleDir {
4141
doLast {
4242
def gradleDir = file(ofLibProject).absoluteFile
43-
println "🔍 Checking directory: ${gradleDir}"
44-
println "Exists? ${gradleDir.exists()}"
45-
println "📂 List contents: ${gradleDir.listFiles()}"
43+
println "Checking directory: ${gradleDir}"
44+
println "Exists? ${gradleDir.exists()}"
45+
println "List contents: ${gradleDir.listFiles()}"
4646
}
4747
}
4848

4949

5050
task setupGradle {
5151
doLast {
52-
println "🔍 Checking Gradle setup..."
52+
println "Checking Gradle setup..."
5353
def gradleDir = file(ofLibProject).absoluteFile
5454
def gradleWrapper = new File(gradleDir, "gradlew")
5555

Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Fri Feb 11 01:53:09 AEDT 2025
2+
distributionBase=GRADLE_USER_HOME
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
4+
distributionPath=wrapper/dists
5+
zipStorePath=wrapper/dists
6+
zipStoreBase=GRADLE_USER_HOME

scripts/templates/android/ofApp/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def enableProguardInReleaseBuilds = true
1818
def enableProguardInDebugBuilds = false
1919

2020
task wrapper(type: Wrapper) {
21-
gradleVersion = '8.9.0'
21+
gradleVersion = '8.14.3'
2222
}
2323
tasks.register("prepareKotlinBuildScriptModel"){
2424
}
@@ -75,7 +75,7 @@ android {
7575
compileSdkVersion 34
7676
buildToolsVersion '35.0.0'
7777
//ndkPath "/Users/x/android-ndk-r21e" // Point to your own NDK if needed
78-
ndkVersion '28.0.13004108' // use android studio side loaded ndk
78+
ndkVersion '28.2.13676358' // use android studio side loaded ndk
7979
buildFeatures {
8080
prefab true
8181
}

0 commit comments

Comments
 (0)