Log4Shell
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
509 B

// Build a Java library
// It has to be Java. Kotlin requires a runtime, and I don't want to have to
// serve that too.
plugins {
java
}
// Use Maven Central as our repository
repositories {
mavenCentral()
}
// Compile for JDK 8 to match the Docker container
java.toolchain.languageVersion.set(JavaLanguageVersion.of(8))
// Set where to look for source code
// We set both Java and Kotlin to the same thing. We only use Kotlin so it
// should be fine.
sourceSets.main {
java.srcDirs("src/")
}