generated from GT-IMPACT/Mod-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
35 lines (30 loc) · 1.07 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
plugins {
alias(libs.plugins.buildconfig)
groovy
id("minecraft")
id("publish")
}
repositories {
maven("https://maven.accident.space/repository/maven-public/")
maven("http://jenkins.usrv.eu:8081/nexus/content/groups/public/") { isAllowInsecureProtocol = true }
maven("https://jitpack.io")
maven("https://maven.ic2.player.to/") { metadataSources { mavenPom(); artifact() } }
mavenCentral()
mavenLocal()
}
val modId: String by extra
val modName: String by extra
val modGroup: String by extra
buildConfig {
packageName("space.impact.$modId")
buildConfigField("String", "MODID", "\"${modId}\"")
buildConfigField("String", "MODNAME", "\"${modName}\"")
buildConfigField("String", "VERSION", "\"${project.version}\"")
buildConfigField("String", "GROUPNAME", "\"${modGroup}\"")
useKotlinOutput { topLevelConstants = true }
}
dependencies {
api("com.github.GTNewHorizons:ModularUI:1.1.10:dev")
api("space.impact:packet_network:1.1.+:dev")
implementation(fileTree(mapOf("dir" to "libs/", "include" to listOf("*.jar"))))
}