google-nomulus/common
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
..
gradle/dependency-locks Allow project dependency to use runtimeClasspath (#395) 2019-12-02 16:10:13 -05:00
src Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
build.gradle Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00
README.md Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00

Summary

This project holds some of the general-purpose utility classes that do not rely on the registry domain model.

This is an intermediate step in untangling the circular dependencies between :core and :util subprojects.