-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
42 lines (34 loc) · 889 Bytes
/
build.gradle
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
import org.apache.tools.ant.filters.ReplaceTokens
plugins {
id 'java'
}
group 'com.zyonicsoftware.minereaper.redeugene'
version 'v0.3.2'
repositories {
mavenCentral()
}
dependencies {
implementation group: 'org.jetbrains', name: 'annotations', version: '21.0.1'
}
processResources {
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
jar {
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
exclude("META-INF/*.SF", "META-INF/*.DSA", "META-INF/*.RSA")
}
/*jar {
from sourceSets.main.allSource
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
processResources {
exclude("*")
}
}*/