google-nomulus/util/gradle/dependency-locks
Weimin Yu 1a1ad54a17 Allow project dependency to use runtimeClasspath (#395)
* Allow project dependency to use runtimeClasspath

Project dependency should use runtimeClasspath. However, if
left unspecified, it uses 'default', which is the same as
the legacy 'runtime' configuration. (runtimeOnly dependencies
are left out).

Since runtimeClasspath cannot be referenced directly, we use
a custom config (deploy_jar) as a proxy.

By excluding testjars (leaked into 'compile' by third-party
dependencies) from runtimeClasspath, we prevent them from
getting into release artifacts.

Two meaningful changes in appengine_war.gradle and java_common.gradle

TESTED=Diffed contents of services/{module}/build/exploded-*
       Only three jars are removed: hamcrest-core, junit, and
       mockito-core.
2019-12-02 16:10:13 -05:00
..
annotationProcessor.lockfile Refactor to be more in line with a standard Gradle project structure 2019-06-13 09:41:11 -04:00
apt.lockfile Fix dependency-locking config (#276) 2019-09-19 11:37:20 -04:00
archives.lockfile Fix dependency-locking config (#276) 2019-09-19 11:37:20 -04:00
buildscript-classpath.lockfile Refactor to be more in line with a standard Gradle project structure 2019-06-13 09:41:11 -04:00
checkstyle.lockfile Upgrade to Gradle 6.0 (#364) 2019-11-13 13:17:29 -05:00
compile.lockfile Make project core depend on db at test runtime (#278) 2019-09-23 14:12:24 -04:00
compileClasspath.lockfile Make project core depend on db at test runtime (#278) 2019-09-23 14:12:24 -04:00
compileOnly.lockfile Fix dependency-locking config (#276) 2019-09-19 11:37:20 -04:00
default.lockfile Make project core depend on db at test runtime (#278) 2019-09-23 14:12:24 -04:00
deploy_jar.lockfile Allow project dependency to use runtimeClasspath (#395) 2019-12-02 16:10:13 -05:00
errorprone.lockfile Fix dependency-locking config (#276) 2019-09-19 11:37:20 -04:00
errorproneJavac.lockfile Refactor to be more in line with a standard Gradle project structure 2019-06-13 09:41:11 -04:00
jacocoAgent.lockfile Upgrade to Gradle 6.0 (#364) 2019-11-13 13:17:29 -05:00
jacocoAnt.lockfile Upgrade to Gradle 6.0 (#364) 2019-11-13 13:17:29 -05:00
runtime.lockfile Make project core depend on db at test runtime (#278) 2019-09-23 14:12:24 -04:00
runtimeClasspath.lockfile Make project core depend on db at test runtime (#278) 2019-09-23 14:12:24 -04:00
testAnnotationProcessor.lockfile Refactor to be more in line with a standard Gradle project structure 2019-06-13 09:41:11 -04:00
testApt.lockfile Fix dependency-locking config (#276) 2019-09-19 11:37:20 -04:00
testCompile.lockfile Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
testCompileClasspath.lockfile Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
testCompileOnly.lockfile Fix dependency-locking config (#276) 2019-09-19 11:37:20 -04:00
testRuntime.lockfile Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
testRuntimeClasspath.lockfile Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00