1
0
mirror of https://github.com/google/nomulus synced 2026-01-05 13:07:04 +00:00

Break circular dependency between core and util (#379)

* Break circular dependency between core and util

Created a new :common project and moved a minimum
number of classes to break the circular dependency
between the two projects. This gets rid of the
gradle lint dependency warnings.

Also separated api classes and testing helpers into
separate source sets in :common so that testing
classes may be restricted to test configurations.
This commit is contained in:
Weimin Yu
2019-11-21 15:36:55 -05:00
committed by GitHub
parent 98414cb7cb
commit 9f0e24132a
62 changed files with 487 additions and 2742 deletions

View File

@@ -38,6 +38,7 @@ dependencies {
compile deps['org.bouncycastle:bcprov-jdk15on']
compile deps['xerces:xmlParserAPIs']
compile deps['xpp3:xpp3']
compile project(':common')
compile project(':util')
runtime deps['com.google.flogger:flogger-system-backend']
@@ -49,7 +50,7 @@ dependencies {
testCompile deps['junit:junit']
testCompile deps['org.mockito:mockito-core']
testCompile project(':third_party')
testCompile project(path: ':core', configuration: 'testRuntime')
testCompile project(path: ':common', configuration: 'testing')
// Include auto-value in compile until nebula-lint understands
// annotationProcessor