-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
112 lines (88 loc) · 4.17 KB
/
build.gradle
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
plugins {
id "architectury-plugin" version "3.4-SNAPSHOT"
id "dev.architectury.loom" version "+" apply false
}
architectury {
minecraft = rootProject.minecraft_version
}
subprojects {
apply plugin: "dev.architectury.loom"
loom {
silentMojangMappingsLicense()
}
repositories {
}
dependencies {
minecraft "com.mojang:minecraft:${rootProject.minecraft_version}"
// The following line declares the mojmap mappings, you may use other mappings as well
mappings loom.officialMojangMappings()
// The following line declares the yarn mappings you may select this one as well.
// mappings "net.fabricmc:yarn:1.19.4+build.2:v2"
}
}
allprojects {
apply plugin: "java"
apply plugin: "architectury-plugin"
apply plugin: "maven-publish"
archivesBaseName = rootProject.archives_base_name
version = rootProject.mod_version
group = rootProject.maven_group
repositories {
maven { url 'https://jitpack.io' }
mavenCentral()
maven {url 'https://mvnrepository.com/artifact/org.json/json'}
maven { url 'https://jitpack.io' }
maven { url 'https://mvnrepository.com/artifact/com.github.sealedtx/java-youtube-downloader'}
maven{ url "https://maven.arbjerg.dev/releases" }
maven{ url 'https://mvnrepository.com/artifact/org.jsoup/jsoup'}
maven{url "https://maven.lavalink.dev/releases"}
maven { url 'https://mvnrepository.com/artifact/com.grack/nanojson'}
maven { url 'https://mvnrepository.com/artifact/org.mozilla/rhino'}
}
dependencies{
//implementation 'dev.arbjerg:lavaplayer:2.0.2'
//implementation group: 'org.json', name: 'json', version: '20230618'
//implementation group: 'com.github.sealedtx', name: 'java-youtube-downloader', version: '3.2.3'
//implementation 'org.junit.jupiter:junit-jupiter:5.8.1'
//implementation "dev.arbjerg:lavadsp:0.7.8"
implementation 'com.alibaba:fastjson:+'
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.17.2'
implementation 'com.fasterxml.jackson.core:jackson-core:2.17.2'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.2'
implementation 'com.github.walkyst.JAADec-fork:jaadec-ext-aac:+'
/*include 'com.github.walkyst:lavaplayer-fork:1.4.3'
include 'com.github.walkyst.lavaplayer-fork:lava-common:1.4.3'
include 'com.github.walkyst.lavaplayer-fork:lavaplayer:1.4.3'
include 'com.github.walkyst.lavaplayer-fork:lavaplayer-ext-format-xm:1.4.3'
include 'com.github.walkyst.lavaplayer-fork:lavaplayer-ext-youtube-rotator:1.4.3'
include 'com.github.walkyst.lavaplayer-fork:lavaplayer-stream-merger:1.4.3'
include 'com.github.walkyst.lavaplayer-fork:lavaplayer-test-samples:1.4.3'
include 'com.github.walkyst:ibxm-fork:a75'
include 'com.github.walkyst:lavaplayer-natives-fork:1.0.2'
*/
implementation group: 'org.json', name: 'json', version: '20230618'
//implementation group: 'com.github.sealedtx', name: 'java-youtube-downloader', version: '3.2.3'
implementation 'org.junit.jupiter:junit-jupiter:+'
implementation 'org.junit.jupiter:junit-jupiter-api:+'
implementation 'org.junit.jupiter:junit-jupiter-engine:+'
implementation 'org.junit.jupiter:junit-jupiter-params:+'
implementation 'org.junit.platform:junit-platform-commons:+'
implementation 'org.junit.platform:junit-platform-engine:+'
implementation 'org.mozilla:rhino:+'
implementation 'org.mozilla:rhino-engine:+'
implementation 'org.opentest4j:opentest4j:+'
implementation "dev.arbjerg:lavaplayer:+"
implementation "dev.lavalink.youtube:common:1.2.0"
implementation 'org.apache.httpcomponents:httpclient:+'
implementation 'commons-logging:commons-logging:+'
implementation group: 'com.grack', name: 'nanojson', version: '+'
implementation group: 'org.jsoup', name: 'jsoup', version: '1.16.2'
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
options.release = 17
}
java {
withSourcesJar()
}
}