-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
53 lines (43 loc) · 1.17 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
import org.apache.tools.ant.filters.ReplaceTokens
apply plugin: 'java'
apply plugin: 'maven-publish'
sourceCompatibility = 1.17 // java 15
targetCompatibility = 1.17
group 'com.zyonicsoftware.minereaper.signal'
version 'v1.2.4'
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
implementation group: 'org.jetbrains', name: 'annotations', version: '20.1.0'
implementation group: 'io.fastjson', name: 'boon', version: '0.34'
implementation 'com.github.mintUI9976:RedEugene:v0.3.2'
}
processResources {
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
java {
withSourcesJar()
}
/*jar {
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
exclude("META-INF/*.SF", "META-INF/*.DSA", "META-INF/*.RSA")
}*/
publishing {
publications {
maven(MavenPublication) {
from components.java
}
}
}
wrapper {
gradleVersion = "7.2"
distributionType = Wrapper.DistributionType.ALL
}