mirror of
https://github.com/signalapp/libsignal.git
synced 2026-04-25 17:25:18 +02:00
Previously, we used a per-project directory glob for Kotlin and Java sources, which (1) was overly general, (2) ran afoul of Gradle's rules about "if you look in a directory you must depend on it", and (3) required us to make a fake subproject in the shared/ folder because Spotless doesn't like sources outside the project directory. Now, we delay complete evaluation of the root project until subprojects are complete, and then add a single Spotless operation at the top level that uses the subprojects' compile tasks to find exactly the files to format.
16 lines
301 B
Groovy
16 lines
301 B
Groovy
pluginManagement {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
rootProject.name = 'libsignal'
|
|
|
|
include 'client', 'server', 'backup-tool'
|
|
|
|
if (!hasProperty('skipAndroid')) {
|
|
include ':android', ':android:benchmarks', ':android:packaging-test'
|
|
}
|