2023-08-27 01:05:26 +02:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'com.palantir.git-version' version '0.13.0'
|
2023-08-27 01:20:25 +02:00
|
|
|
id 'com.github.johnrengelman.shadow' version '7.1.2'
|
2023-08-27 01:05:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
archivesBaseName = 'mapping-writer'
|
2023-09-08 21:21:05 +02:00
|
|
|
version = gitVersion().split('-').getAt(0).replace('dirty', '')
|
2023-08-27 01:05:26 +02:00
|
|
|
|
|
|
|
java {
|
2023-09-01 12:17:37 +02:00
|
|
|
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
|
2023-08-27 01:05:26 +02:00
|
|
|
withSourcesJar()
|
|
|
|
withJavadocJar()
|
|
|
|
}
|
|
|
|
|
2023-09-08 23:53:50 +02:00
|
|
|
javadoc {
|
|
|
|
options {
|
|
|
|
links 'https://lll.fantabos.co/javadoc/lillero-mapper/'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-27 01:05:26 +02:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven { url = 'https://maven.fantabos.co' }
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation 'commons-cli:commons-cli:1.5.0'
|
2023-09-01 12:17:37 +02:00
|
|
|
implementation 'ftbsc.lll:mapper:0.3.0'
|
2023-08-27 02:04:05 +02:00
|
|
|
implementation 'com.google.auto.service:auto-service-annotations:1.1.0'
|
|
|
|
annotationProcessor 'com.google.auto.service:auto-service:1.1.0'
|
2023-08-27 01:05:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
jar {
|
|
|
|
manifest {
|
|
|
|
attributes 'Main-Class': 'ftbsc.lll.mapper.writer.MappingWriter'
|
|
|
|
}
|
|
|
|
}
|
2023-08-27 01:20:25 +02:00
|
|
|
|
2023-08-27 02:04:05 +02:00
|
|
|
shadowJar {
|
|
|
|
dependencies {
|
|
|
|
exclude(dependency('com.google.auto.service:auto-service-annotations:1.1.0'))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-27 01:20:25 +02:00
|
|
|
build.dependsOn(shadowJar)
|