Skip to content

Commit ceb101c

Browse files
authored
Merge pull request #162 from gradle/no/update-gradle-7
Update to Gradle 7.0
2 parents 96bdc87 + c92f93a commit ceb101c

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

build.gradle

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
id 'java-gradle-plugin'
77
id 'maven-publish'
88
id 'codenarc'
9-
id "com.gradle.plugin-publish" version "0.12.0"
9+
id "com.gradle.plugin-publish" version "0.14.0"
1010
id "org.gradle.test-retry" version "1.2.0"
1111
}
1212

@@ -19,7 +19,7 @@ def isCI = (System.getenv('CI') ?: 'false').toBoolean()
1919
def supportedVersions = [
2020
"7.0.0-alpha12": ["6.8.3", "7.0"],
2121
"4.2.0-rc01": ["6.8.3", "7.0"],
22-
"4.1.2": ["6.5.1", "6.8.3"],
22+
"4.1.3": ["6.5.1", "6.8.3"],
2323
"4.0.2": ["6.1.1", "6.8.3"],
2424
"3.6.4": ["5.6.4", "6.8.3"],
2525
"3.5.4": ["5.4.1", "5.6.4", "6.8.3"]
@@ -36,10 +36,11 @@ dependencies {
3636
implementation gradleApi()
3737
testImplementation "com.android.tools.build:gradle:$agpVersion"
3838
testImplementation gradleTestKit()
39-
testImplementation "junit:junit:4.12"
40-
testImplementation "org.spockframework:spock-core:1.1-groovy-2.4@jar"
41-
testRuntime 'cglib:cglib-nodep:3.2.12'
42-
testRuntime 'org.objenesis:objenesis:3.1'
39+
testImplementation "junit:junit:4.13.2"
40+
testImplementation "org.spockframework:spock-core:2.0-M5-groovy-3.0@jar"
41+
testImplementation "org.opentest4j:opentest4j:1.2.0"
42+
testRuntimeOnly 'cglib:cglib-nodep:3.3.0'
43+
testRuntimeOnly 'org.objenesis:objenesis:3.2'
4344
}
4445

4546
java {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

src/test/groovy/org/gradle/android/WorkaroundTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class WorkaroundTest extends Specification {
1414
androidVersion | expectedWorkarounds
1515
"7.0.0-alpha12" | ['MergeJavaResources', 'RoomSchemaLocation', 'StripDebugSymbols', 'MergeNativeLibs', 'CompileLibraryResources_7_0']
1616
"4.2.0-rc01" | ['MergeJavaResources', 'RoomSchemaLocation', 'StripDebugSymbols', 'MergeNativeLibs', 'CompileLibraryResources_4_2', 'MergeResources']
17-
"4.1.2" | ['MergeJavaResources', 'RoomSchemaLocation', 'StripDebugSymbols', 'MergeNativeLibs', 'CompileLibraryResources_4_0', 'MergeResources']
17+
"4.1.3" | ['MergeJavaResources', 'RoomSchemaLocation', 'StripDebugSymbols', 'MergeNativeLibs', 'CompileLibraryResources_4_0', 'MergeResources']
1818
"4.0.2" | ['MergeJavaResources', 'RoomSchemaLocation', 'StripDebugSymbols', 'MergeNativeLibs', 'CompileLibraryResources_4_0', 'MergeResources']
1919
"3.6.4" | ['MergeJavaResources', 'RoomSchemaLocation', 'StripDebugSymbols', 'MergeNativeLibs']
2020
"3.5.4" | ['MergeJavaResources', 'RoomSchemaLocation', 'StripDebugSymbols', 'MergeNativeLibs']

0 commit comments

Comments
 (0)