diff options
author | zaaarf <zaaarf@proton.me> | 2023-08-27 01:05:26 +0200 |
---|---|---|
committer | zaaarf <zaaarf@proton.me> | 2023-08-27 01:05:26 +0200 |
commit | 5bd9f685b1df4e819dcab5ebe4bff0146bb90aa3 (patch) | |
tree | 9d7a2d6341b0a12af8535d0b8956c9696039cc2f /build.gradle |
feat: basic cli application
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..15faa59 --- /dev/null +++ b/build.gradle @@ -0,0 +1,31 @@ +plugins { + id 'java' + id 'com.palantir.git-version' version '0.13.0' +} + +archivesBaseName = 'mapping-writer' +version = gitVersion() + +java { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 + withSourcesJar() + withJavadocJar() +} + +repositories { + mavenCentral() + maven { url = 'https://maven.fantabos.co' } +} + +dependencies { + implementation 'commons-cli:commons-cli:1.5.0' + implementation 'ftbsc.lll:mapper:0.2.1' +} + +jar { + archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}" + manifest { + attributes 'Main-Class': 'ftbsc.lll.mapper.writer.MappingWriter' + } +} |