summaryrefslogtreecommitdiff
path: root/build.gradle
blob: ae50b466ad3362c82e7e3663c13b0de92b7afed6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
plugins {
   id 'java'
   id 'com.palantir.git-version' version '0.13.0'
   id 'com.github.johnrengelman.shadow' version '7.1.2'
}

archivesBaseName = 'mapping-writer'
version = versionDetails().lastTag

java {
   sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
   withSourcesJar()
   withJavadocJar()
}

javadoc {
   options {
      links 'https://docs.zaaarf.foo/lillero-mapper/'
   }
}

repositories {
    mavenCentral()
   maven { url = 'https://maven.fantabos.co' }
}

dependencies {
   implementation 'commons-cli:commons-cli:1.5.0'
   implementation 'ftbsc.lll:mapper:0.4.0'
   implementation 'com.google.auto.service:auto-service-annotations:1.1.0'
   annotationProcessor 'com.google.auto.service:auto-service:1.1.0'
}

jar {
   manifest {
      attributes 'Main-Class': 'ftbsc.lll.mapper.writer.MappingWriter'
   }
}

shadowJar {
   dependencies {
      exclude(dependency('com.google.auto.service:auto-service-annotations:1.1.0'))
   }
}

build.dependsOn(shadowJar)