-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
61 lines (45 loc) · 1.23 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
plugins {
id 'idea'
id 'application'
id 'java-library'
id("com.github.johnrengelman.shadow") version "8.1.1"
}
group = 'fr.cakihorse'
version = '2.0'
repositories {
mavenCentral()
maven {
url = 'https://jitpack.io/'
name = 'JitPack'
}
maven {
url "https://alwyn974.github.io/maven/"
}
}
dependencies {
//dependencies to launch the game
implementation 'com.github.litarvan:openauth:518589d222'
implementation 'fr.flowarg:flowupdater:1.7.4'
implementation 'fr.flowarg:openlauncherlib:3.2.8'
//themes
implementation 'com.formdev:flatlaf:3.2.1'
implementation 'com.formdev:flatlaf-intellij-themes:3.2.5'
//ping servers
implementation 're.alwyn974.minecraftserverping:MinecraftServerPing:2.0.0'
implementation 'org.apache.httpcomponents:httpclient:4.5.13'
implementation 'com.google.code.gson:gson:2.10.1'
}
application {
getMainClass().set('fr.cakihorse.echolaunch.app.Main')
}
compileJava {
options.encoding = "UTF-8"
}
jar {
manifest.attributes.put('Main-Class', 'fr.cakihorse.echolaunch.app.Main')
from {
configurations.compileClasspath.collect {
it.isDirectory() ? it : zipTree(it)
}
}
}