-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle.kts
27 lines (24 loc) · 931 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
}
subprojects {
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
kotlinOptions.freeCompilerArgs += listOf(
"-opt-in=com.redmadrobot.debug_panel_core.annotation.DebugPanelInternal"
)
}
}
nexusPublishing {
// Uncomment if you need to release artifacts uploaded using "publish" task.
// repositoryDescription.set("Implicitly created (auto staging).")
repositories {
sonatype {
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
}
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.layout.buildDirectory)
}