Files

42 lines
1.2 KiB
Groovy

plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
repositories {
mavenCentral()
maven { url 'https://maven.mohistmc.com/' }
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }
}
dependencies {
implementation "cpw.mods:securejarhandler:1.0.3"
implementation 'org.projectlombok:lombok:1.18.24'
annotationProcessor 'org.projectlombok:lombok:1.18.24'
compileOnly 'org.projectlombok:lombok:1.18.24'
implementation 'com.mohistmc:yaml:0.5'
implementation 'org.yaml:snakeyaml:2.0'
implementation 'com.mohistmc:i18n:0.6'
implementation 'com.mohistmc:json:0.5'
implementation 'com.mohistmc:tools:0.5.1'
implementation 'me.tongfei:progressbar:0.10.0'
implementation 'org.jline:jline:3.23.0'
}
shadowJar {
dependencies {
include(dependency('com.mohistmc:yaml:0.5'))
include(dependency('org.yaml:snakeyaml:2.0'))
include(dependency('com.mohistmc:i18n'))
include(dependency('com.mohistmc:tools'))
include(dependency('com.mohistmc:json'))
include(dependency('me.tongfei:progressbar'))
include(dependency('org.jline:jline'))
}
relocate("org.yaml.snakeyaml", "com.mohistmc.yaml")
}
jar.dependsOn(shadowJar)