1d34224416
Look, this will make the git history look funny, but trimming unnecessary depth from the source tree is a very necessary sanity-preserving measure when dealing with a super-modularized codebase like this one. While it makes the project configuration a bit less conventional, it will save you several clicks every time you jump between modules. Which you'll do a lot, because it's *modul*ar. The src/main/java convention makes a lot of sense for a non-modular project though. This ain't that.
33 lines
688 B
Groovy
33 lines
688 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'io.freefair.lombok'
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(21))
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation libs.jsoup
|
|
implementation libs.notnull
|
|
implementation libs.bundles.gson
|
|
implementation libs.zstd
|
|
implementation libs.bundles.slf4j
|
|
|
|
implementation libs.lombok
|
|
testImplementation libs.lombok
|
|
annotationProcessor libs.lombok
|
|
|
|
lombok libs.lombok // prevent plugin from downgrading the version to something incompatible with '19
|
|
|
|
implementation project(':code:libraries:blocking-thread-pool')
|
|
|
|
implementation project(':third-party:openzim')
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|