google-nomulus/buildSrc/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 Refactor common code used by the proxy and the prober (#375) 2019-11-20 12:42:44 -05:00
archives.lockfile Refactor common code used by the proxy and the prober (#375) 2019-11-20 12:42:44 -05:00
buildscript-classpath.lockfile Upgrade to Gradle 6.0 (#364) 2019-11-13 13:17:29 -05: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
default.lockfile Refactor common code used by the proxy and the prober (#375) 2019-11-20 12:42:44 -05:00
deploy_jar.lockfile Allow project dependency to use runtimeClasspath (#395) 2019-12-02 16:10:13 -05:00
errorprone.lockfile Refactor common code used by the proxy and the prober (#375) 2019-11-20 12:42:44 -05: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 Upgrade to Gradle 6.0 (#364) 2019-11-13 13:17:29 -05: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 Refactor common code used by the proxy and the prober (#375) 2019-11-20 12:42:44 -05:00
testCompile.lockfile Upgrade to Truth 1.0 (#281) 2019-09-24 10:23:58 -04:00
testCompileClasspath.lockfile Upgrade to Truth 1.0 (#281) 2019-09-24 10:23:58 -04:00
testRuntime.lockfile Upgrade to Gradle 6.0 (#364) 2019-11-13 13:17:29 -05:00
testRuntimeClasspath.lockfile Upgrade to Truth 1.0 (#281) 2019-09-24 10:23:58 -04:00