mirror of
https://github.com/barkeser2002/Tenet.git
synced 2026-09-25 06:39:56 +03:00
41 lines
1.1 KiB
Groovy
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) |