Skip to content

Commit aad36fe

Browse files
authored
feat: bump gradle to 8.13 (#1785)
1 parent 7f95294 commit aad36fe

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

framework/cdv-gradle-config-defaults.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"MIN_SDK_VERSION": 24,
33
"SDK_VERSION": 35,
44
"COMPILE_SDK_VERSION": null,
5-
"GRADLE_VERSION": "8.9",
5+
"GRADLE_VERSION": "8.13",
66
"MIN_BUILD_TOOLS_VERSION": "35.0.0",
77
"AGP_VERSION": "8.7.3",
88
"KOTLIN_VERSION": "1.9.24",

spec/unit/builders/ProjectBuilder.spec.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -134,14 +134,14 @@ describe('ProjectBuilder', () => {
134134
execaSpy.and.resolveTo();
135135
});
136136

137-
it('should run gradle wrapper 8.7', async () => {
138-
await builder.installGradleWrapper('8.7');
139-
expect(execaSpy).toHaveBeenCalledWith('gradle', ['-p', path.normalize('/root/tools'), 'wrapper', '--gradle-version', '8.7'], jasmine.any(Object));
137+
it('should run gradle wrapper 8.13', async () => {
138+
await builder.installGradleWrapper('8.13');
139+
expect(execaSpy).toHaveBeenCalledWith('gradle', ['-p', path.normalize('/root/tools'), 'wrapper', '--gradle-version', '8.13'], jasmine.any(Object));
140140
});
141141

142142
it('CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL should override gradle version', async () => {
143143
process.env.CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL = 'https://dist.local';
144-
await builder.installGradleWrapper('8.7');
144+
await builder.installGradleWrapper('8.13');
145145
delete process.env.CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL;
146146
expect(execaSpy).toHaveBeenCalledWith('gradle', ['-p', path.normalize('/root/tools'), 'wrapper', '--gradle-distribution-url', 'https://dist.local'], jasmine.any(Object));
147147
});

0 commit comments

Comments
 (0)