@@ -14,7 +14,7 @@ plugins {
14
14
}
15
15
16
16
[compileJava, compileTestJava, javadoc]* . options* . encoding = ' UTF8'
17
- final def RUKKIT_VERSION = " 0.9.3 -dev"
17
+ final def RUKKIT_VERSION = " 0.9.4 -dev"
18
18
mainClassName = ' cn.rukkit.RukkitLauncher'
19
19
20
20
// In this section you declare where to find the dependencies of your project
@@ -29,16 +29,17 @@ dependencies {
29
29
// The production code uses the SLF4J logging API at compile time
30
30
// compile 'org.slf4j:slf4j-api:1.7.25'
31
31
implementation ' com.alibaba.fastjson2:fastjson2:2.0.41'
32
- implementation ' org.jline:jline-terminal:3.23.0'
33
- implementation ' org.jline:jline-console:3.23.0'
34
- implementation ' org.jline:jline:3.23.0'
35
- implementation ' org.jline:jline-reader:3.23.0'
36
- implementation ' org.jline:jline-terminal-jna:3.23.0'
37
- implementation ' io.netty:netty-all:4.1.95.Final'
38
- implementation ' ch.qos.logback:logback-core:1.4.8'
39
- implementation ' ch.qos.logback:logback-classic:1.4.8'
32
+ implementation ' org.jline:jline-terminal:3.25.0'
33
+ implementation ' org.jline:jline-console:3.25.0'
34
+ implementation ' org.jline:jline:3.25.0'
35
+ implementation ' org.jline:jline-reader:3.25.0'
36
+ implementation ' org.jline:jline-terminal-jna:3.25.0'
37
+ // https://mvnrepository.com/artifact/io.netty/netty-all
38
+ implementation ' io.netty:netty-all:4.1.100.Final'
39
+ implementation ' ch.qos.logback:logback-core:1.4.14'
40
+ implementation ' ch.qos.logback:logback-classic:1.4.12'
40
41
implementation ' org.slf4j:slf4j-api:2.0.7'
41
- implementation ' org.yaml:snakeyaml:1.25 '
42
+ implementation ' org.yaml:snakeyaml:2.0 '
42
43
43
44
44
45
// compile 'netty'
@@ -53,7 +54,8 @@ tasks.withType(Javadoc).configureEach {
53
54
options. encoding = ' UTF-8'
54
55
}
55
56
56
- task buildRukkit (dependsOn : shadowJar) {
57
+ tasks. register(' buildRukkit' ) {
58
+ dependsOn shadowJar
57
59
doLast {
58
60
println (" Okay.Doing last step..." )
59
61
mkdir(" ./build/outputs" )
@@ -66,17 +68,17 @@ task buildRukkit(dependsOn: shadowJar) {
66
68
CopySpec copySpec ->
67
69
from file(" ${ rootDir} /build/libs/Rukkit-all.jar" )
68
70
into " ${ rootDir} /build/outputs/"
69
- rename (' Rukkit-all.jar' , " Rukkit-${ RUKKIT_VERSION} .jar" )
71
+ rename(' Rukkit-all.jar' , " Rukkit-${ RUKKIT_VERSION} .jar" )
70
72
}
71
73
copy() {
72
74
CopySpec copySpec ->
73
75
from file(" ${ rootDir} /start.sh" )
74
- into " ${ rootDir} /build/outputs/" ;
76
+ into " ${ rootDir} /build/outputs/"
75
77
}
76
78
copy() {
77
79
CopySpec copySpec ->
78
80
from file(" ${ rootDir} /start.bat" )
79
- into " ${ rootDir} /build/outputs/" ;
81
+ into " ${ rootDir} /build/outputs/"
80
82
}
81
83
replaceFileText(new File (" ${ rootDir} /build/outputs/start.sh" ), " \\ {version\\ }" , RUKKIT_VERSION )
82
84
replaceFileText(new File (" ${ rootDir} /build/outputs/start.bat" ), " \\ {version\\ }" , RUKKIT_VERSION )
0 commit comments