-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
39 lines (31 loc) · 965 Bytes
/
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
plugins {
id "com.github.johnrengelman.shadow" version "2.0.4"
id 'org.jetbrains.kotlin.jvm' version '1.6.10'
}
def mainClassName = "ru.unicorecms.unicoreprovider.UnicoreProviderModule";
sourceCompatibility = '17'
targetCompatibility = '17'
group 'uno.unicore'
version '1.0.1-STABLE'
repositories {
mavenCentral()
}
dependencies {
implementation "com.squareup.okhttp3:okhttp:4.9.3"
implementation "org.jetbrains.kotlin:kotlin-stdlib"
compileOnly 'com.google.code.gson:gson:2.9.0'
compileOnly 'org.apache.logging.log4j:log4j-api:2.17.2'
compileOnly 'org.apache.logging.log4j:log4j-core:2.17.2'
compileOnly 'pro.gravit.launcher:launcher-core:5.2.11'
compileOnly 'pro.gravit.launcher:launcher-ws-api:5.2.11'
compileOnly 'pro.gravit.launcher:launchserver-api:5.2.11'
}
jar {
manifest.attributes("Module-Main-Class": mainClassName)
}
shadowJar {
archiveClassifier.set('')
}
artifacts {
archives shadowJar
}