Merge pull request #271 from RepoDevil/cleanup

The motherload
This commit is contained in:
rebel onion 2024-03-23 16:56:18 -05:00 committed by GitHub
commit d43d643bbd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
163 changed files with 5058 additions and 5910 deletions

View file

@ -1,4 +1,4 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
buildscript {
repositories {
@ -26,8 +26,9 @@ tasks.register('clean', Delete) {
delete getLayout().getBuildDirectory()
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
tasks.withType(KotlinJvmCompile).configureEach {
compilerOptions {
freeCompilerArgs.add("-opt-in=kotlin.RequiresOptIn")
}
}