forked from 770grappenmaker/mappings-util
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
44 lines (39 loc) · 943 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
39
40
41
42
43
44
plugins {
kotlin("plugin.serialization")
kotlin("jvm")
id("org.jetbrains.dokka")
`maven-publish`
}
repositories {
mavenCentral()
}
group = "com.grappenmaker"
version = "0.2.0"
kotlin {
jvmToolchain(8)
}
dependencies {
api("org.ow2.asm:asm:9.4")
api("org.ow2.asm:asm-commons:9.4")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.1")
}
publishing {
repositories {
maven {
name = "WeaveMC"
url = uri("https://repo.weavemc.dev/releases")
credentials(PasswordCredentials::class)
authentication {
create<BasicAuthentication>("basic")
}
}
}
publications {
create<MavenPublication>("maven") {
from(components["java"])
groupId = "com.grappenmaker"
artifactId = "mappings-util"
version = project.version as String
}
}
}