Skip to content

Commit e3cf743

Browse files
committed
version 1.2.3
1 parent f769177 commit e3cf743

File tree

6 files changed

+8
-81
lines changed

6 files changed

+8
-81
lines changed

.space.kts

-36
This file was deleted.

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Dockerfile for building with Android SDK/NDK, including Google Cloud SDK.
22
FROM amazoncorretto:17-al2-jdk AS builder
3-
LABEL description="Android Builder" version="1.2.2" repository="https://github.com/syslogic/cloudbuild-android" maintainer="Martin Zeitler"
3+
LABEL description="Android Builder" version="1.2.3" repository="https://github.com/syslogic/cloudbuild-android" maintainer="Martin Zeitler"
44
LABEL org.opencontainers.image.description="Android Builder"
55

66
# Packages
@@ -9,7 +9,7 @@ RUN yum -y install wget unzip xxd libidn && yum -y upgrade
99
# RUN yum -y install deltarpm google-cloud-sdk wget unzip xxd libidn && yum -y upgrade
1010

1111
# Arguments, now with default values.
12-
ARG _CLI_TOOLS_VERSION=12700392
12+
ARG _CLI_TOOLS_VERSION=13114758
1313
ARG _ANDROID_SDK_PACKAGES="platform-tools platforms;android-35 build-tools;35.0.0"
1414
ARG _GRADLE_VERSION=8.13
1515

README.md

+3-40
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ One can pre-install SDK packages with the `sdkmanager`, when passing `_ANDROID_S
3737
And one can pre-install Gradle by passing `_GRADLE_VERSION`.<br/>
3838
At the moment these are both statically set in [`cloudbuild.yaml`](https://github.com/syslogic/cloudbuild-android/blob/master/cloudbuild.yaml), but the code is there.
3939

40-
- `_CLI_TOOLS_VERSION` ~ `12700392`
40+
- `_CLI_TOOLS_VERSION` ~ `13114758`
4141
- `_ANDROID_SDK_PACKAGES` ~ `platform-tools platforms;android-35 build-tools;35.0.0`
4242
- `_GRADLE_VERSION` ~ `8.13`
4343

@@ -140,48 +140,11 @@ The example app uses [Google Cloud KMS Gradle Plugin](https://github.com/syslogi
140140
The variable substitutions look pretty much the same, being called "Parameters".<br/>
141141
While these substitutions use no underscore (being mapped at build-time: [`.space.kts`](https://github.com/syslogic/cloudbuild-android/blob/master/.space.kts)).
142142

143-
- `CLI_TOOLS_VERSION` ~ `12700392`
143+
- `CLI_TOOLS_VERSION` ~ `13114758`
144144
- `ANDROID_SDK_PACKAGES` ~ `platform-tools platforms;android-35 build-tools;35.0.0`
145-
- `GRADLE_VERSION` ~ `8.12`
145+
- `GRADLE_VERSION` ~ `8.13`
146146
- `DOCKER_IMAGE` ~ the location of the Docker image previously built.
147147

148-
The following example `.space.kts` uses `xxd` (instead of `gcloud kms`) to revert hex-dumps of binary files.
149-
150-
````
151-
/**
152-
* JetBrains Space Automation
153-
* This Kotlin script file lets you automate build activities
154-
* For more info, see https://www.jetbrains.com/help/space/automation.html
155-
*/
156-
157-
job("Bundle application") {
158-
startOn {
159-
gitPush { enabled = false }
160-
}
161-
parameters {
162-
text("GRADLE_TASKS", value = "mobile:bundleDebug", description = "Gradle tasks") {
163-
options("mobile:bundleDebug", "mobile:bundleRelease") {
164-
allowMultiple = false
165-
}
166-
}
167-
}
168-
container(displayName = "Gradle build", image = "{{ project:DOCKER_IMAGE }}:lts") {
169-
env["KEYSTORE_PROPERTIES"] = "{{ project:KEYSTORE_PROPERTIES }}"
170-
env["RELEASE_KEYSTORE"] = "{{ project:RELEASE_KEYSTORE }}"
171-
env["DEBUG_KEYSTORE"] = "{{ project:DEBUG_KEYSTORE }}"
172-
env["GRADLE_USER_HOME"] = "{{ project:GRADLE_USER_HOME }}"
173-
env["GRADLE_TASKS"] = "{{ GRADLE_TASKS }}"
174-
cache {
175-
location = CacheLocation.FileRepository(name = CacheLocation.DefaultRepositoryName, remoteBasePath = "android")
176-
storeKey = "gradle-{{ hashFiles('build.gradle') }}"
177-
localPath = "{{ project:GRADLE_USER_HOME }}/caches"
178-
}
179-
shellScript {
180-
location = "{{ project:BUILD_SCRIPT }}"
181-
interpreter = "/bin/bash"
182-
}
183-
}
184-
}
185148
````
186149
## GCP Service Account
187150

cloudbuild.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ steps:
2222
# Note: When commenting these out, one has to run `./gradlew build` to fetch the components instead.
2323
# '--build-arg', 'ANDROID_SDK_PACKAGES=platform-tools platforms;android-35 build-tools;35.0.0 ndk;25.1.8937393',
2424
'--build-arg', '_ANDROID_SDK_PACKAGES=platform-tools platforms;android-35 build-tools;35.0.0',
25-
'--build-arg', '_CLI_TOOLS_VERSION=12700392',
25+
'--build-arg', '_CLI_TOOLS_VERSION=13114758',
2626
'--build-arg', '_GRADLE_VERSION=8.13',
2727

2828
# enable cloudbuild network

gradle/libs.versions.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
android_gradle_plugin = '8.9.1'
2+
android_gradle_plugin = "8.10.0"
33
google_mobile_services = '4.4.2'
44
firebase_appdistribution = '5.0.0'
55
firebase_crashlytics_plugin = '3.0.2'

gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
distributionBase=GRADLE_USER_HOMEdistributionPath=wrapper/distsdistributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zipzipStoreBase=GRADLE_USER_HOMEzipStorePath=wrapper/dists
1+
distributionBase=GRADLE_USER_HOMEdistributionPath=wrapper/distsdistributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zipzipStoreBase=GRADLE_USER_HOMEzipStorePath=wrapper/dists

0 commit comments

Comments
 (0)