-
Notifications
You must be signed in to change notification settings - Fork 14
/
build.gradle.kts
50 lines (43 loc) · 1.31 KB
/
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
45
46
47
48
49
50
plugins {
`kotlin-dsl`
`maven-publish`
}
group = "gg.essential"
version = "0.6.4"
java.withSourcesJar()
repositories {
mavenCentral()
gradlePluginPortal()
maven(url = "https://maven.fabricmc.net/")
maven(url = "https://maven.minecraftforge.net")
maven(url = "https://jitpack.io")
maven(url = "https://maven.architectury.dev/")
maven(url = "https://repo.essential.gg/repository/maven-public")
}
dependencies {
implementation(gradleApi())
implementation(localGroovy())
api(libs.archloom)
implementation(libs.archloomPack200)
compileOnly(libs.kotlin.gradlePlugin)
implementation(libs.kotlinx.binaryCompatibilityValidator)
api(libs.preprocessor)
implementation(libs.asm)
implementation(libs.guava)
implementation(libs.kotlinx.metadata.jvm)
}
publishing {
repositories {
val nexusUser = project.findProperty("nexus_user")
val nexusPassword = project.findProperty("nexus_password")
if (nexusUser != null && nexusPassword != null) {
maven("https://repo.essential.gg/repository/maven-releases/") {
name = "nexus-public"
credentials {
username = nexusUser.toString()
password = nexusPassword.toString()
}
}
}
}
}