aboutsummaryrefslogtreecommitdiff
path: root/runners
diff options
context:
space:
mode:
Diffstat (limited to 'runners')
-rw-r--r--runners/android-gradle-plugin/build.gradle9
-rw-r--r--runners/ant/build.gradle11
-rw-r--r--runners/fatjar/build.gradle2
-rw-r--r--runners/gradle-plugin/build.gradle9
-rw-r--r--runners/maven-plugin/build.gradle5
5 files changed, 6 insertions, 30 deletions
diff --git a/runners/android-gradle-plugin/build.gradle b/runners/android-gradle-plugin/build.gradle
index 7c2eaa14..68152475 100644
--- a/runners/android-gradle-plugin/build.gradle
+++ b/runners/android-gradle-plugin/build.gradle
@@ -6,12 +6,7 @@ sourceCompatibility = 1.8
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: "com.gradle.plugin-publish"
-configurations {
- provided
-}
-
tasks.withType(AbstractCompile) {
- classpath += configurations.provided
classpath += configurations.shadow
}
@@ -25,8 +20,8 @@ dependencies {
shadow project(path: ':runners:gradle-plugin', configuration: 'shadow')
compileOnly project(':integration')
- provided gradleApi()
- provided localGroovy()
+ compileOnly gradleApi()
+ compileOnly localGroovy()
}
task sourceJar(type: Jar) {
diff --git a/runners/ant/build.gradle b/runners/ant/build.gradle
index 2622ce6e..85328d95 100644
--- a/runners/ant/build.gradle
+++ b/runners/ant/build.gradle
@@ -2,17 +2,8 @@ apply plugin: 'kotlin'
sourceCompatibility = 1.6
-configurations {
- provided
-}
-
-tasks.withType(AbstractCompile) {
- classpath += configurations.provided
-}
-
-
dependencies {
compile project(":core")
- provided group: 'org.apache.ant', name: 'ant', version: ant_version
+ compileOnly group: 'org.apache.ant', name: 'ant', version: ant_version
}
diff --git a/runners/fatjar/build.gradle b/runners/fatjar/build.gradle
index a3aeadcc..dbd56f3c 100644
--- a/runners/fatjar/build.gradle
+++ b/runners/fatjar/build.gradle
@@ -20,7 +20,7 @@ shadowJar {
classifier = ''
configurations {
- exclude provided
+ exclude compileOnly
}
transform(ServiceFileTransformer)
diff --git a/runners/gradle-plugin/build.gradle b/runners/gradle-plugin/build.gradle
index 1848570a..7b859908 100644
--- a/runners/gradle-plugin/build.gradle
+++ b/runners/gradle-plugin/build.gradle
@@ -6,12 +6,7 @@ sourceCompatibility = 1.8
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: "com.gradle.plugin-publish"
-configurations {
- provided
-}
-
tasks.withType(AbstractCompile) {
- classpath += configurations.provided
classpath += configurations.shadow
}
@@ -23,8 +18,8 @@ dependencies {
compile project(":integration")
- provided gradleApi()
- provided localGroovy()
+ compileOnly gradleApi()
+ compileOnly localGroovy()
}
task sourceJar(type: Jar) {
diff --git a/runners/maven-plugin/build.gradle b/runners/maven-plugin/build.gradle
index e1a3af1a..5176957e 100644
--- a/runners/maven-plugin/build.gradle
+++ b/runners/maven-plugin/build.gradle
@@ -5,12 +5,7 @@ apply plugin: 'kotlin'
apply plugin: 'com.github.johnrengelman.shadow'
-configurations {
- provided
-}
-
tasks.withType(AbstractCompile) {
- classpath += configurations.provided
classpath += configurations.shadow
}