Files
2024-03-30 23:14:37 +08:00

41 lines
1.1 KiB
Groovy

plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
version = VERSION
repositories {
mavenCentral()
maven { url 'https://maven.mohistmc.com/' }
}
dependencies {
compileOnly 'org.jetbrains:annotations:23.0.0'
annotationProcessor 'org.projectlombok:lombok:1.18.30'
compileOnly 'org.projectlombok:lombok:1.18.30'
implementation(libs.yaml)
implementation(libs.snakeyaml)
implementation(libs.i18n)
implementation(libs.json)
implementation(libs.tools)
implementation(libs.bootstrap)
implementation 'me.tongfei:progressbar:0.10.0'
implementation 'org.jline:jline:3.25.1'
}
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'))
include(dependency('me.tongfei:progressbar'))
include(dependency('org.jline:jline'))
}
relocate("org.yaml.snakeyaml", "com.mohistmc.yaml")
}
jar.dependsOn(shadowJar)