Skip to content

Commit f57356c

Browse files
committed
Remove unnecessary dependencies & use 2x AGP for compileOnly
1 parent e1b8c39 commit f57356c

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

android-junit5/build.gradle

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,11 @@ tasks.getByName("test").dependsOn(
7474
dependencies {
7575
compile gradleApi()
7676
compile localGroovy()
77-
compile "com.github.zafarkhaja:java-semver:$SEMVER_VERSION"
7877
compile "org.junit.platform:junit-platform-gradle-plugin:$JUNIT_PLATFORM_VERSION"
79-
compileOnly "com.android.tools.build:gradle:$ANDROID_PLUGIN_VERSION_3X"
78+
compileOnly "com.android.tools.build:gradle:$ANDROID_PLUGIN_VERSION_2X"
8079

8180
testCompile "junit:junit:$JUNIT4_VERSION"
8281
testCompile("org.spockframework:spock-core:$SPOCK_VERSION") { transitive = false }
83-
84-
testCompileOnly "com.android.tools.build:gradle:$ANDROID_PLUGIN_VERSION_3X"
8582
testAgp2xCompile "com.android.tools.build:gradle:$ANDROID_PLUGIN_VERSION_2X"
8683
testAgp3xCompile "com.android.tools.build:gradle:$ANDROID_PLUGIN_VERSION_3X"
8784
}

gradle.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ ANDROID_PLUGIN_VERSION_3X = 3.0.0-beta2
1717
BINTRAY_PLUGIN_VERSION = 1.7.3
1818

1919
# Dependency versions
20-
SEMVER_VERSION = 0.9.0
2120
JUNIT_PLATFORM_VERSION = 1.0.0-RC2
2221

2322
JUNIT4_VERSION = 4.12

0 commit comments

Comments
 (0)