summaryrefslogtreecommitdiff
path: root/android/gradlew
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-06-29 00:59:47 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-06-29 00:59:47 +0000
commite4c365e4c327728d9ecffa4303cfe8fad2dbc81d (patch)
tree8a481a0bc5707a8bee7f7ad1127e694313623585 /android/gradlew
parentad7215dde641d19c13c1636a6c2b8d35d80a1cc5 (diff)
chore: add Gradle wrapper and fix kotlin plugin to 2.0.0
Diffstat (limited to 'android/gradlew')
-rwxr-xr-xandroid/gradlew9
1 files changed, 9 insertions, 0 deletions
diff --git a/android/gradlew b/android/gradlew
new file mode 100755
index 0000000..128c6e0
--- /dev/null
+++ b/android/gradlew
@@ -0,0 +1,9 @@
+#!/bin/sh
+# Prefer system-installed Gradle 8.6; falls back to downloading via wrapper.
+GRADLE_LOCAL="/opt/gradle/gradle-8.6/bin/gradle"
+if [ -x "$GRADLE_LOCAL" ]; then
+ exec "$GRADLE_LOCAL" "$@"
+fi
+APP_HOME="$(cd "$(dirname "$0")" && pwd)"
+CLASSPATH="$APP_HOME/gradle/wrapper/gradle-wrapper.jar"
+exec java -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"