| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -401,7 +401,7 @@ jobs: | |||
| 401 | 401 | with: | |
| 402 | 402 | persist-credentials: false | |
| 403 | 403 | - name: Build and test | |
| 404 | - run: JAVA_HOME="${JAVA_HOME_21_X64:-$JAVA_HOME_21_arm64}" python3 Platforms/Android ci --fast-ci ${{ matrix.arch }}-linux-android | ||
| 404 | + run: python3 Platforms/Android ci --fast-ci ${{ matrix.arch }}-linux-android | ||
| 405 | 405 | ||
| 406 | 406 | build-ios: | |
| 407 | 407 | name: iOS | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -31,7 +31,7 @@ The script also requires the following commands to be on the `PATH`: | |||
| 31 | 31 | ||
| 32 | 32 | * `curl` | |
| 33 | 33 | * `java` (or set the `JAVA_HOME` environment variable). | |
| 34 | - Java versions 17 and 21 are supported. | ||
| 34 | + Java versions 17, 21 and 25 are supported. | ||
| 35 | 35 | ||
| 36 | 36 | ## Building | |
| 37 | 37 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -393,10 +393,10 @@ def setup_testbed(): | |||
| 393 | 393 | if all((TESTBED_DIR / path).exists() for path in paths): | |
| 394 | 394 | return | |
| 395 | 395 | ||
| 396 | - # The wrapper version isn't important, as any version of the wrapper can | ||
| 397 | - # download any version of Gradle. The Gradle version actually used for the | ||
| 398 | - # build is specified in testbed/gradle/wrapper/gradle-wrapper.properties. | ||
| 399 | - version = "8.9.0" | ||
| 396 | + # Any version of the wrapper can run any reasonably close version of Gradle, so this | ||
| 397 | + # doesn't need to match the Gradle version used for the build, which is specified in | ||
| 398 | + # testbed/gradle/wrapper/gradle-wrapper.properties. | ||
| 399 | + version = "9.5.0" | ||
| 400 | 400 | ||
| 401 | 401 | for path in paths: | |
| 402 | 402 | out_path = TESTBED_DIR / path | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,6 @@ import kotlin.math.max | |||
| 3 | 3 | ||
| 4 | 4 | plugins { | |
| 5 | 5 | id("com.android.application") | |
| 6 | - id("org.jetbrains.kotlin.android") | ||
| 7 | 6 | } | |
| 8 | 7 | ||
| 9 | 8 | val ANDROID_DIR = file("../..") | |
@@ -144,18 +143,10 @@ android { | |||
| 144 | 143 | path("src/main/c/CMakeLists.txt") | |
| 145 | 144 | } | |
| 146 | 145 | ||
| 147 | - // Set this property to something nonexistent but non-empty. Otherwise it'll use the | ||
| 148 | - // default list, which ignores asset directories beginning with an underscore, and | ||
| 149 | - // maybe also other files required by tests. | ||
| 150 | - aaptOptions.ignoreAssetsPattern = "android-testbed-dont-ignore-anything" | ||
| 151 | - | ||
| 152 | 146 | compileOptions { | |
| 153 | 147 | sourceCompatibility = JavaVersion.VERSION_1_8 | |
| 154 | 148 | targetCompatibility = JavaVersion.VERSION_1_8 | |
| 155 | 149 | } | |
| 156 | - kotlinOptions { | ||
| 157 | - jvmTarget = "1.8" | ||
| 158 | - } | ||
| 159 | 150 | ||
| 160 | 151 | testOptions { | |
| 161 | 152 | managedDevices { | |
@@ -192,6 +183,12 @@ android { | |||
| 192 | 183 | } | |
| 193 | 184 | } | |
| 194 | 185 | } | |
| 186 | + androidResources { | ||
| 187 | + // Set this property to something nonexistent but non-empty. Otherwise it'll use | ||
| 188 | + // the default list, which ignores asset directories beginning with an | ||
| 189 | + // underscore, and maybe also other files required by tests. | ||
| 190 | + ignoreAssetsPattern = "android-testbed-dont-ignore-anything" | ||
| 191 | + } | ||
| 195 | 192 | } | |
| 196 | 193 | ||
| 197 | 194 | dependencies { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,4 @@ | |||
| 1 | 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. | |
| 2 | 2 | plugins { | |
| 3 | - id("com.android.application") version "8.10.0" apply false | ||
| 4 | - id("org.jetbrains.kotlin.android") version "1.9.22" apply false | ||
| 3 | + id("com.android.application") version "9.3.1" apply false | ||
| 5 | 4 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,16 +11,8 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 | |||
| 11 | 11 | # This option should only be used with decoupled projects. More details, visit | |
| 12 | 12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects | |
| 13 | 13 | # org.gradle.parallel=true | |
| 14 | - # AndroidX package structure to make it clearer which packages are bundled with the | ||
| 15 | - # Android operating system, and which are packaged with your app's APK | ||
| 16 | - # https://developer.android.com/topic/libraries/support-library/androidx-rn | ||
| 17 | - android.useAndroidX=true | ||
| 18 | 14 | # Kotlin code style for this project: "official" or "obsolete": | |
| 19 | 15 | kotlin.code.style=official | |
| 20 | - # Enables namespacing of each library's R class so that its R class includes only the | ||
| 21 | - # resources declared in the library itself and none from the library's dependencies, | ||
| 22 | - # thereby reducing the size of the R class for that library | ||
| 23 | - android.nonTransitiveRClass=true | ||
| 24 | 16 | ||
| 25 | 17 | # By default, the app will be uninstalled after the tests finish (apparently | |
| 26 | 18 | # after 10 seconds in case of an unclean shutdown). We disable this, because | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,6 @@ | |||
| 1 | 1 | #Mon Feb 19 20:29:06 GMT 2024 | |
| 2 | 2 | distributionBase=GRADLE_USER_HOME | |
| 3 | 3 | distributionPath=wrapper/dists | |
| 4 | - distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip | ||
| 4 | + distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.0-bin.zip | ||
| 5 | 5 | zipStoreBase=GRADLE_USER_HOME | |
| 6 | 6 | zipStorePath=wrapper/dists | |
| Back | FazBrowse Home | New Git URL |
0 commit comments