Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Gradle to 8.11.1, AGP to 8.7.2 #299

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Setup Gradle
uses: gradle/gradle-build-action@v2.4.2
with:
gradle-version: 8.10.2
gradle-version: 8.11.1

# Manually build the java bytecode
- name: Execute Gradle build
Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include:
# SETUP

variables:
CURRENT_CI_IMAGE: "9"
CURRENT_CI_IMAGE: "10"
CI_IMAGE_DOCKER: 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/dd-sdk-android-gradle-plugin:$CURRENT_CI_IMAGE
GIT_DEPTH: 5

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.gitlab
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN set -x \
&& apt-get -y clean \
&& rm -rf /var/lib/apt/lists/*

ENV GRADLE_VERSION 8.10.2
ENV GRADLE_VERSION 8.11.1
ENV ANDROID_COMPILE_SDK 35
ENV ANDROID_BUILD_TOOLS 35.0.0
ENV ANDROID_SDK_TOOLS 11076708
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ internal class NewApiAppVariantTest {
whenever(nonValidOutput.versionCode) doReturn fakeVersionCode.asProperty()
} else {
whenever(nonValidOutput.enabled) doReturn true.asProperty()
whenever(nonValidOutput.versionCode) doReturn null.asProperty()
whenever(nonValidOutput.versionCode) doReturn 1.asProperty().unset()
}
nonValidOutput
}
Expand All @@ -151,15 +151,15 @@ internal class NewApiAppVariantTest {
val validOutput = mock<VariantOutput>()
whenever(validOutput.enabled) doReturn true.asProperty()
whenever(validOutput.versionCode) doReturn fakeVersionCode.asProperty()
whenever(validOutput.versionName) doReturn null.asProperty()
whenever(validOutput.versionName) doReturn "".asProperty().unset()
val fakeNonValidOutputs = forge.aList {
val nonValidOutput = mock<VariantOutput>()
if (forge.aBool()) {
whenever(nonValidOutput.enabled) doReturn false.asProperty()
whenever(nonValidOutput.versionCode) doReturn fakeVersionCode.asProperty()
} else {
whenever(nonValidOutput.enabled) doReturn true.asProperty()
whenever(nonValidOutput.versionCode) doReturn null.asProperty()
whenever(nonValidOutput.versionCode) doReturn 1.asProperty().unset()
}
nonValidOutput
}
Expand Down Expand Up @@ -188,7 +188,7 @@ internal class NewApiAppVariantTest {
whenever(nonValidOutput.versionCode) doReturn fakeVersionCode.asProperty()
} else {
whenever(nonValidOutput.enabled) doReturn true.asProperty()
whenever(nonValidOutput.versionCode) doReturn null.asProperty()
whenever(nonValidOutput.versionCode) doReturn 1.asProperty().unset()
}
nonValidOutput
}
Expand All @@ -214,7 +214,7 @@ internal class NewApiAppVariantTest {
whenever(nonValidOutput.versionCode) doReturn fakeVersionCode.asProperty()
} else {
whenever(nonValidOutput.enabled) doReturn true.asProperty()
whenever(nonValidOutput.versionCode) doReturn null.asProperty()
whenever(nonValidOutput.versionCode) doReturn 1.asProperty().unset()
}
nonValidOutput
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ json = "20180813"
okHttp = "4.12.0"

# Android
androidToolsPlugin = "8.6.1"
androidToolsPlugin = "8.7.2"

# AndroidX
androidx-core ="1.3.2"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Loading