Files
2024-02-05 19:30:14 +07:00

37 lines
1009 B
Groovy

plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
version = VERSION
repositories {
mavenCentral()
maven { url 'https://maven.mohistmc.com/' }
}
dependencies {
implementation 'org.jetbrains:annotations:23.0.0'
annotationProcessor 'org.projectlombok:lombok:1.18.30'
compileOnly 'org.projectlombok:lombok:1.18.30'
implementation 'com.mohistmc:yaml:0.5'
implementation 'com.mohistmc:i18n:0.6'
implementation 'org.yaml:snakeyaml:2.0'
implementation 'com.mohistmc:json:0.2'
implementation 'com.mohistmc:tools:0.3'
implementation "cpw.mods:bootstraplauncher:1.1.2"
}
shadowJar {
dependencies {
include(dependency('com.mohistmc:yaml'))
include(dependency('org.yaml:snakeyaml'))
include(dependency('com.mohistmc:i18n'))
include(dependency('com.mohistmc:json'))
include(dependency('com.mohistmc:tools'))
}
relocate("org.yaml.snakeyaml", "com.mohistmc.yaml")
}
jar.dependsOn(shadowJar)