File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,11 @@ plugins {
5
5
id ' com.github.breadmoirai.github-release' version ' 2.4.1'
6
6
}
7
7
8
- sourceCompatibility = JavaVersion . VERSION_21
9
- targetCompatibility = JavaVersion . VERSION_21
10
-
11
- archivesBaseName = project. archives_base_name
12
- version = project. mod_version
13
- group = project. maven_group
8
+ base {
9
+ archivesName = project. archives_base_name
10
+ version = project. mod_version
11
+ group = project. maven_group
12
+ }
14
13
15
14
sourceSets {
16
15
codeGen
80
79
from(configurations. includedLibrary. collect { it. isDirectory() ? it : zipTree(it) }) {
81
80
include ' com/seedfinding/**'
82
81
}
82
+
83
+ from(" LICENSE" )
83
84
}
84
85
85
86
processResources {
@@ -98,6 +99,11 @@ processResources {
98
99
}
99
100
}
100
101
102
+ java {
103
+ sourceCompatibility = JavaVersion . VERSION_21
104
+ targetCompatibility = JavaVersion . VERSION_21
105
+ }
106
+
101
107
tasks. withType(JavaCompile ). configureEach {
102
108
options. encoding = " UTF-8"
103
109
}
@@ -108,10 +114,6 @@ tasks.register('sourcesJar', Jar) {
108
114
from sourceSets. main. allSource
109
115
}
110
116
111
- jar {
112
- from " LICENSE"
113
- }
114
-
115
117
tasks. register(' codeGen' , JavaExec ) {
116
118
mainClass = ' net.earthcomputer.clientcommands.codegen.CodeGenerator'
117
119
classpath = sourceSets. codeGen. runtimeClasspath
You can’t perform that action at this time.
0 commit comments