forked from jianjianai/NewBingGoGo-MagicURL-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
29 lines (24 loc) · 728 Bytes
/
build.gradle
File metadata and controls
29 lines (24 loc) · 728 Bytes
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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
group 'cn.jja8.newbinggogo'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.nanohttpd:nanohttpd-websocket:2.3.1'
// https://mvnrepository.com/artifact/org.java-websocket/Java-WebSocket
implementation 'org.java-websocket:Java-WebSocket:1.5.3'
implementation group: 'org.slf4j', name: 'slf4j-api', version: '2.0.7'
implementation group: 'org.slf4j', name: 'slf4j-log4j12', version: '2.0.7'
}
shadowJar {
manifest {
//指定入口函数,其他的是默认
attributes(
'Main-Class': 'cn.jja8.newbinggogo.NewBingGoGoServer'
)
}
}