Skip to content

Commit d3ad0a0

Browse files
rvandermeulenjonalmeida
authored andcommitted
Update Gradle to version 8.13
1 parent 229c803 commit d3ad0a0

File tree

7 files changed

+254
-166
lines changed

7 files changed

+254
-166
lines changed

apidoc-plugin/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
import org.mozilla.apilint.Config
66

7-
buildDir "${topobjdir}/apidoc-plugin"
7+
buildDir = "${topobjdir}/apidoc-plugin"
88

99
buildscript {
1010
repositories {
11-
jcenter()
11+
mavenCentral()
1212
}
1313
dependencies {
1414
classpath 'com.diffplug.spotless:spotless-plugin-gradle:5.16.0'
@@ -63,12 +63,12 @@ test.dependsOn testApiDoclet
6363

6464
task sourcesJar(type: Jar) {
6565
from sourceSets.main.allJava
66-
classifier = 'sources'
66+
archiveClassifier = 'sources'
6767
}
6868

6969
task javadocJar(type: Jar, dependsOn: javadoc) {
7070
from javadoc.destinationDir
71-
classifier = 'javadoc'
71+
archiveClassifier = 'javadoc'
7272
}
7373

7474
publishing {
@@ -95,8 +95,8 @@ task generateMavenArchive(type: Zip) {
9595
from(layout.buildDirectory.dir("maven/org/mozilla/apilint/apidoc-plugin")) {
9696
include "${Config.API_DOC_VERSION}/**"
9797
}
98-
archiveName "maven.zip"
99-
destinationDir project.buildDir
98+
archiveFileName = "maven.zip"
99+
destinationDirectory = project.buildDir
100100
}
101101

102102
version = Config.API_DOC_VERSION

apilint/build.gradle

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

55
plugins {
6-
id 'com.gradle.plugin-publish' version '1.2.1'
6+
id 'com.gradle.plugin-publish' version '1.3.1'
77
id 'java-gradle-plugin'
88
id 'groovy'
99
id 'maven-publish'
1010
}
1111

1212
import org.mozilla.apilint.Config
1313

14-
buildDir "${topobjdir}/apilint"
14+
buildDir = "${topobjdir}/apilint"
1515

1616
sourceSets {
1717
main {
@@ -22,27 +22,24 @@ sourceSets {
2222
}
2323
}
2424

25-
group Config.GROUP
26-
version 'master-SNAPSHOT'
25+
group = Config.GROUP
26+
version = 'master-SNAPSHOT'
2727

2828
gradlePlugin {
29+
website = 'https://github.com/mozilla-mobile/gradle-apilint'
30+
vcsUrl = 'https://github.com/mozilla-mobile/gradle-apilint'
31+
2932
plugins {
3033
apilintPlugin {
3134
id = Config.GROUP
3235
displayName = 'API Lint plugin'
36+
description = 'Tracks the API of an Android library and helps maintain backward compatibility.'
37+
tags.set(['api', 'lint', 'mozilla', 'compatibility'])
3338
implementationClass = 'org.mozilla.apilint.ApiLintPlugin'
3439
}
3540
}
3641
}
3742

38-
pluginBundle {
39-
website = 'https://github.com/mozilla-mobile/gradle-apilint'
40-
vcsUrl = 'https://github.com/mozilla-mobile/gradle-apilint'
41-
42-
tags = ['api', 'lint', 'mozilla', 'compatibility']
43-
description = 'Tracks the API of an Android library and helps maintain backward compatibility.'
44-
}
45-
4643
task testApiLint(type: Exec) {
4744
workingDir '.'
4845
commandLine 'python3', 'src/test/resources/apilint_test.py',

buildSrc/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
buildDir "../build/buildSrc"
5+
buildDir = "../build/buildSrc"

gradle/wrapper/gradle-wrapper.jar

-10.4 KB
Binary file not shown.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)