Skip to content

Commit eb672cd

Browse files
committed
update gradle
1 parent 512da3f commit eb672cd

File tree

4 files changed

+174
-110
lines changed

4 files changed

+174
-110
lines changed

build.gradle

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1+
import org.apache.tools.ant.filters.ReplaceTokens
2+
13
plugins {
24
id 'java'
3-
id 'maven'
45
}
56

6-
apply plugin: 'maven'
7-
87
group 'com.zyonicsoftware.minereaper.redeugene'
98
version 'v0.2.9'
109

@@ -13,15 +12,31 @@ repositories {
1312
}
1413

1514
dependencies {
16-
compile group: 'org.jetbrains', name: 'annotations', version: '21.0.1'
15+
implementation group: 'org.jetbrains', name: 'annotations', version: '21.0.1'
16+
}
17+
18+
processResources {
19+
from(sourceSets.main.resources.srcDirs) {
20+
filter ReplaceTokens, tokens: [version: version]
21+
}
22+
duplicatesStrategy = DuplicatesStrategy.INCLUDE
1723
}
1824

25+
1926
jar {
27+
from {
28+
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
29+
}
30+
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
31+
exclude("META-INF/*.SF", "META-INF/*.DSA", "META-INF/*.RSA")
32+
}
33+
34+
/*jar {
2035
from sourceSets.main.allSource
2136
from {
2237
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
2338
}
2439
processResources {
2540
exclude("*")
2641
}
27-
}
42+
}*/

gradle/wrapper/gradle-wrapper.jar

-83.6 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

gradlew

Lines changed: 153 additions & 104 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)