-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
94 lines (82 loc) · 2.61 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
plugins {
id 'com.github.johnrengelman.shadow' version '7.1.2'
id("xyz.jpenilla.run-paper") version "1.0.6"
id 'java'
}
group = 'Alien'
version = '4.5-DEV-0.1'
shadowJar {
zip64 true
}
repositories {
mavenCentral()
jcenter()
maven {
name = 'papermc-repo'
url = 'https://papermc.io/repo/repository/maven-public/'
}
maven {
name = 'sonatype'
url = 'https://oss.sonatype.org/content/groups/public/'
}
flatDir {
dirs 'libs'
}
maven {
url 'https://jitpack.io'
}
maven {
url 'https://repo.codemc.org/repository/maven-public/'
}
maven {
url "https://oss.jfrog.org/artifactory/libs-snapshot"
}
}
dependencies {
implementation 'com.github.twitch4j:twitch4j:1.12.0'
implementation 'org.json:json:20220320'
//implementation (name: 'jython-standalone-2.7.2', ext: 'jar')
implementation 'com.github.TheLimeGlass:StreamElements-Java-API:Beta-1'
implementation "io.github.bananapuncher714:nbteditor:7.18.3"
implementation 'org.python:jython-standalone:2.7.3b1'
//implementation 'org.deeplearning4j:deeplearning4j-core:1.0.0-M2'
//implementation 'org.deeplearning4j:deeplearning4j-ui:1.0.0-M2'
//implementation group: 'org.nd4j', name: 'nd4j-native-platform', version: '1.0.0-M2'
//implementation 'org.nd4j:nd4j-backends:1.0.0-M2'
implementation 'io.github.twitch4j.streamlabs4j:streamlabs4j:0.9.0'
implementation group: "com.github.Despical", name: "CommandFramework", version: "1.1.3"
implementation group: "com.github.Despical", name: "Commons", version: "1.5.3";
compileOnly 'io.papermc.paper:paper-api:1.19.2-R0.1-SNAPSHOT'
}
properties{
}
def targetJavaVersion = 17
java {
def javaVersion = JavaVersion.toVersion(targetJavaVersion)
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
if (JavaVersion.current() < javaVersion) {
toolchain.languageVersion = JavaLanguageVersion.of(targetJavaVersion)
}
}
tasks.withType(JavaCompile).configureEach {
if (targetJavaVersion >= 10 || JavaVersion.current().isJava10Compatible()) {
options.release = targetJavaVersion
}
}
tasks {
runServer {
// Configure the Minecraft version for our task.
// This is the only required configuration besides applying the plugin.
// Your plugin's jar (or shadowJar if present) will be used automatically.
minecraftVersion("1.19.2")
}
}
processResources {
def props = [version: version]
inputs.properties props
filteringCharset 'UTF-8'
filesMatching('plugin.yml') {
expand props
}
}