-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
38 lines (33 loc) · 952 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
28
29
30
31
32
33
34
35
36
37
38
plugins {
id("land.vani.setup.kotlin") apply false
id("land.vani.setup.maven") apply false
id("org.jetbrains.kotlinx.kover") version "0.6.1"
id("io.github.gradle-nexus.publish-plugin") version "1.3.0"
}
group = "land.vani"
version = "0.1.0"
allprojects {
repositories {
mavenCentral()
maven {
name = "Mojang repository"
url = uri("https://libraries.minecraft.net")
}
}
}
koverMerged {
enable()
xmlReport {
reportFile.set(layout.buildDirectory.file("reports/kover/merged.xml"))
}
}
nexusPublishing {
repositories {
sonatype {
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
username.set(System.getenv("OSSRH_USERNAME"))
password.set(System.getenv("OSSRH_PASSWORD"))
}
}
}