aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--junit/build.gradle10
-rw-r--r--pluginapi/build.gradle8
-rw-r--r--plugins/maven-dependency-resolver/build.gradle10
-rw-r--r--processor/build.gradle12
-rw-r--r--resources/build.gradle2
-rwxr-xr-xrobolectric/build.gradle10
-rw-r--r--sandbox/build.gradle8
-rw-r--r--shadows/framework/build.gradle12
-rw-r--r--shadows/httpclient/build.gradle4
-rw-r--r--shadows/multidex/build.gradle2
-rw-r--r--shadows/playservices/build.gradle4
-rw-r--r--utils/build.gradle12
-rw-r--r--utils/reflector/build.gradle6
13 files changed, 50 insertions, 50 deletions
diff --git a/junit/build.gradle b/junit/build.gradle
index ba3914023..64a39ee26 100644
--- a/junit/build.gradle
+++ b/junit/build.gradle
@@ -3,11 +3,11 @@ new RoboJavaModulePlugin(
).apply(project)
dependencies {
- implementation project(":annotations")
- implementation project(":sandbox")
- implementation project(":pluginapi")
- implementation project(":shadowapi")
- implementation project(":utils:reflector")
+ api project(":annotations")
+ api project(":sandbox")
+ api project(":pluginapi")
+ api project(":shadowapi")
+ api project(":utils:reflector")
compileOnly "com.google.code.findbugs:jsr305:3.0.2"
compileOnly "junit:junit:4.12"
diff --git a/pluginapi/build.gradle b/pluginapi/build.gradle
index 3b228db2c..4c58772ab 100644
--- a/pluginapi/build.gradle
+++ b/pluginapi/build.gradle
@@ -3,10 +3,10 @@ new RoboJavaModulePlugin(
).apply(project)
dependencies {
- implementation project(":annotations")
- implementation "com.google.auto.service:auto-service:1.0-rc4"
- implementation "org.apache.ant:ant:1.8.0"
- implementation("org.apache.maven:maven-ant-tasks:2.1.3") {
+ api project(":annotations")
+ compileOnly "com.google.auto.service:auto-service:1.0-rc4"
+ api "org.apache.ant:ant:1.8.0"
+ api("org.apache.maven:maven-ant-tasks:2.1.3") {
exclude group: "junit", module: "junit"
}
diff --git a/plugins/maven-dependency-resolver/build.gradle b/plugins/maven-dependency-resolver/build.gradle
index bb272296e..b548c79bb 100644
--- a/plugins/maven-dependency-resolver/build.gradle
+++ b/plugins/maven-dependency-resolver/build.gradle
@@ -3,12 +3,12 @@ new RoboJavaModulePlugin(
).apply(project)
dependencies {
- implementation project(":pluginapi")
- implementation project(":utils")
+ api project(":pluginapi")
+ api project(":utils")
- implementation "com.google.auto.service:auto-service:1.0-rc4"
- implementation "org.apache.ant:ant:1.8.0"
- implementation("org.apache.maven:maven-ant-tasks:2.1.3") {
+ compileOnly "com.google.auto.service:auto-service:1.0-rc4"
+ api "org.apache.ant:ant:1.8.0"
+ api("org.apache.maven:maven-ant-tasks:2.1.3") {
exclude group: "junit", module: "junit"
}
diff --git a/processor/build.gradle b/processor/build.gradle
index e8d6c2335..1709ffc80 100644
--- a/processor/build.gradle
+++ b/processor/build.gradle
@@ -32,14 +32,14 @@ task('generateSdksFile', type: GenerateSdksFileTask) {
tasks['classes'].dependsOn(generateSdksFile)
dependencies {
- implementation project(":annotations")
+ api project(":annotations")
compileOnly "com.google.code.findbugs:jsr305:3.0.2"
- implementation "org.ow2.asm:asm:7.0"
- implementation "org.ow2.asm:asm-commons:7.0"
- implementation "com.google.guava:guava:27.0.1-jre"
- implementation "com.google.code.gson:gson:2.8.2"
- implementation 'ch.raffael.pegdown-doclet:pegdown-doclet:1.3'
+ api "org.ow2.asm:asm:7.0"
+ api "org.ow2.asm:asm-commons:7.0"
+ api "com.google.guava:guava:27.0.1-jre"
+ api "com.google.code.gson:gson:2.8.2"
+ api 'ch.raffael.pegdown-doclet:pegdown-doclet:1.3'
def toolsJar = org.gradle.internal.jvm.Jvm.current().getToolsJar()
if (toolsJar != null) {
diff --git a/resources/build.gradle b/resources/build.gradle
index 832d0731d..afb8f6156 100644
--- a/resources/build.gradle
+++ b/resources/build.gradle
@@ -5,7 +5,7 @@ new RoboJavaModulePlugin(
dependencies {
api project(":utils")
api project(":annotations")
- implementation project(":pluginapi")
+ api project(":pluginapi")
api "com.google.guava:guava:27.0.1-jre"
compileOnly "com.google.code.findbugs:jsr305:3.0.2"
diff --git a/robolectric/build.gradle b/robolectric/build.gradle
index e662cca6f..4f55dc7d6 100755
--- a/robolectric/build.gradle
+++ b/robolectric/build.gradle
@@ -25,11 +25,11 @@ dependencies {
api project(":resources")
api project(":sandbox")
api project(":utils")
- implementation project(":utils:reflector")
- implementation project(":plugins:maven-dependency-resolver")
- implementation "javax.inject:javax.inject:1"
- implementation "com.google.auto.service:auto-service:1.0-rc4"
- implementation "javax.annotation:javax.annotation-api:1.3.2"
+ api project(":utils:reflector")
+ api project(":plugins:maven-dependency-resolver")
+ api "javax.inject:javax.inject:1"
+ compileOnly "com.google.auto.service:auto-service:1.0-rc4"
+ api "javax.annotation:javax.annotation-api:1.3.2"
// We need to have shadows-framework.jar on the runtime system classpath so ServiceLoader
// can find its META-INF/services/org.robolectric.shadows.ShadowAdapter.
diff --git a/sandbox/build.gradle b/sandbox/build.gradle
index 0933c9ba6..41211d1ae 100644
--- a/sandbox/build.gradle
+++ b/sandbox/build.gradle
@@ -8,10 +8,10 @@ dependencies {
api project(":annotations")
api project(":utils")
api project(":shadowapi")
- implementation project(":utils:reflector")
- implementation "com.google.auto.service:auto-service:1.0-rc4"
- implementation "javax.annotation:javax.annotation-api:1.3.2"
- implementation "javax.inject:javax.inject:1"
+ api project(":utils:reflector")
+ compileOnly "com.google.auto.service:auto-service:1.0-rc4"
+ api "javax.annotation:javax.annotation-api:1.3.2"
+ api "javax.inject:javax.inject:1"
api "org.ow2.asm:asm:7.0"
api "org.ow2.asm:asm-commons:7.0"
diff --git a/shadows/framework/build.gradle b/shadows/framework/build.gradle
index 7d0b21b25..e5c06e48d 100644
--- a/shadows/framework/build.gradle
+++ b/shadows/framework/build.gradle
@@ -37,12 +37,12 @@ jar {
}
dependencies {
- implementation project(":annotations")
- implementation project(":resources")
- implementation project(":pluginapi")
- implementation project(":utils")
- implementation project(":utils:reflector")
- implementation "androidx.test:monitor:1.1.1"
+ api project(":annotations")
+ api project(":resources")
+ api project(":pluginapi")
+ api project(":utils")
+ api project(":utils:reflector")
+ api "androidx.test:monitor:1.1.1"
compileOnly "com.google.code.findbugs:jsr305:3.0.2"
api "com.almworks.sqlite4java:sqlite4java:0.282"
diff --git a/shadows/httpclient/build.gradle b/shadows/httpclient/build.gradle
index a3f4d6621..cb4a1558e 100644
--- a/shadows/httpclient/build.gradle
+++ b/shadows/httpclient/build.gradle
@@ -14,8 +14,8 @@ configurations {
}
dependencies {
- implementation project(":annotations")
- implementation project(":utils")
+ api project(":annotations")
+ api project(":utils")
earlyRuntime "org.apache.httpcomponents:httpcore:4.0.1"
api "org.apache.httpcomponents:httpclient:4.0.3"
diff --git a/shadows/multidex/build.gradle b/shadows/multidex/build.gradle
index 90d9c7f89..4005a5391 100644
--- a/shadows/multidex/build.gradle
+++ b/shadows/multidex/build.gradle
@@ -11,7 +11,7 @@ shadows {
dependencies {
compileOnly project(":shadows:framework")
- implementation project(":annotations")
+ api project(":annotations")
compileOnly "com.android.support:multidex:1.0.1"
diff --git a/shadows/playservices/build.gradle b/shadows/playservices/build.gradle
index d00c27487..a1b862f23 100644
--- a/shadows/playservices/build.gradle
+++ b/shadows/playservices/build.gradle
@@ -11,8 +11,8 @@ shadows {
dependencies {
compileOnly project(":shadows:framework")
- implementation project(":annotations")
- implementation "com.google.guava:guava:27.0.1-jre"
+ api project(":annotations")
+ api "com.google.guava:guava:27.0.1-jre"
compileOnly "com.android.support:support-fragment:26.0.1"
compileOnly "com.google.android.gms:play-services-base:8.4.0"
diff --git a/utils/build.gradle b/utils/build.gradle
index a00f06342..346f0c9dd 100644
--- a/utils/build.gradle
+++ b/utils/build.gradle
@@ -3,12 +3,12 @@ new RoboJavaModulePlugin(
).apply(project)
dependencies {
- implementation project(":annotations")
- implementation project(":pluginapi")
- implementation project(":utils:reflector")
- implementation "com.google.auto.service:auto-service:1.0-rc4"
- implementation "javax.inject:javax.inject:1"
- implementation "javax.annotation:javax.annotation-api:1.3.2"
+ api project(":annotations")
+ api project(":pluginapi")
+ api project(":utils:reflector")
+ compileOnly "com.google.auto.service:auto-service:1.0-rc4"
+ api "javax.inject:javax.inject:1"
+ api "javax.annotation:javax.annotation-api:1.3.2"
compileOnly "com.google.code.findbugs:jsr305:3.0.2"
testAnnotationProcessor "com.google.auto.service:auto-service:1.0-rc4"
diff --git a/utils/reflector/build.gradle b/utils/reflector/build.gradle
index b2d27d4f5..ab21518a2 100644
--- a/utils/reflector/build.gradle
+++ b/utils/reflector/build.gradle
@@ -3,9 +3,9 @@ new RoboJavaModulePlugin(
).apply(project)
dependencies {
- implementation "org.ow2.asm:asm:7.0"
- implementation "org.ow2.asm:asm-commons:7.0"
- implementation "org.ow2.asm:asm-util:7.0"
+ api "org.ow2.asm:asm:7.0"
+ api "org.ow2.asm:asm-commons:7.0"
+ api "org.ow2.asm:asm-util:7.0"
testImplementation project(":shadowapi")
testImplementation "junit:junit:4.12"