Skip to content
This repository was archived by the owner on Aug 18, 2024. It is now read-only.

Commit ca212fa

Browse files
committed
clean build
1 parent 896e75e commit ca212fa

File tree

3 files changed

+13
-14
lines changed

3 files changed

+13
-14
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Project exclude paths
22
/.gradle/
33
/build/
4-
/build/classes/java/main/
4+
/build/classes/java/main/
5+
/out/

build.gradle

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//file:noinspection GroovyAssignabilityCheck
12
plugins {
23
id 'java'
34
}
@@ -8,21 +9,21 @@ repositories {
89
mavenCentral()
910
}
1011

11-
jar {
12-
manifest {
13-
attributes 'Main-Class': "com.pistacium.modcheck.ModCheck"
14-
}
15-
from {
16-
compileJava.classpath.collect {
17-
it.isDirectory() ? it : zipTree(it)
18-
}
19-
}
20-
}
2112

2213
dependencies {
2314
implementation 'com.google.code.gson:gson:2.9.0'
2415
}
2516

2617
test {
2718
useJUnitPlatform()
19+
}
20+
21+
jar {
22+
manifest {
23+
attributes 'Main-Class': "com.pistacium.modcheck.ModCheck"
24+
}
25+
26+
from {
27+
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
28+
}
2829
}

src/main/resources/META-INF/MANIFEST.MF

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)