Skip to content

Commit

Permalink
Update Gradle to 8.11.1, AGP to 8.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
0xnm committed Dec 4, 2024
1 parent db089e2 commit 96f9c2e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
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

0 comments on commit 96f9c2e

Please sign in to comment.