-
Notifications
You must be signed in to change notification settings - Fork 16
/
build.gradle
73 lines (62 loc) · 1.49 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
plugins {
id 'application'
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.5.20'
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
group 'com.tb24'
version '0.4.3'
sourceCompatibility = 1.8
targetCompatibility = 1.8
ext {
javaMainClass = 'com.tb24.blenderumap.Main'
}
application {
mainClassName = javaMainClass
}
jar {
manifest {
attributes 'Main-Class': javaMainClass
}
}
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.collection:collection-ktx:1.1.0'
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0'
implementation 'com.google.code.gson:gson:2.8.7'
implementation 'com.squareup.okhttp3:okhttp:3.14.9'
implementation 'me.fungames:JFortniteParse:+'
implementation 'org.slf4j:slf4j-api:1.7.32'
testImplementation 'junit:junit:4.13.2'
}
compileKotlin {
kotlinOptions.jvmTarget = '1.8'
}
compileTestKotlin {
kotlinOptions.jvmTarget = '1.8'
}
shadowJar {
baseName = project.name
classifier = ''
archiveVersion = ''
exclude "**/*.kotlin_builtins"
exclude "**/*.kotlin_metadata"
exclude "**/*.kotlin_module"
exclude 'META-INF/maven/**'
exclude '**/DEPENDENCIES'
exclude '**/LGPL2.1'
exclude '**/LICENSE'
exclude '**/LICENSE.txt'
exclude '**/NOTICE'
exclude '**/NOTICE.txt'
}
tasks.withType(AbstractArchiveTask) {
preserveFileTimestamps = false
reproducibleFileOrder = true
}