This repository has been archived by the owner on Jun 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
build.gradle.kts
70 lines (59 loc) · 1.67 KB
/
build.gradle.kts
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
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
java
id("com.github.johnrengelman.shadow") version "7.0.0"
`maven-publish`
}
repositories {
mavenLocal()
maven {
url = uri("https://repo.mrivanplays.com/repository/ivan/")
}
maven {
url = uri("https://jcenter.bintray.com/")
}
maven {
url = uri("https://m2.dv8tion.net/releases")
}
mavenCentral()
}
dependencies {
implementation("net.dv8tion:JDA:4.2.1_265")
implementation("com.mrivanplays:JDCF:1.0.6-SNAPSHOT")
implementation("com.github.ben-manes.caffeine:caffeine:3.0.2")
implementation("org.apache.commons:commons-text:1.9")
implementation("org.slf4j:slf4j-simple:1.7.30")
implementation("org.apache.httpcomponents.client5:httpclient5:5.1")
implementation("com.google.code.gson:gson:2.8.7")
implementation("com.google.guava:guava:30.1.1-jre")
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.8.0-M1")
testImplementation("org.junit.platform:junit-platform-runner:1.8.0-M1")
implementation("com.mrivanplays:BinClient:1.0.1-SNAPSHOT")
}
group = "org.yatopiamc"
version = "1.0-SNAPSHOT"
description = "Yatopia-Bot"
java.sourceCompatibility = JavaVersion.VERSION_1_8
publishing {
publications.create<MavenPublication>("maven") {
from(components["java"])
}
}
tasks.withType<JavaCompile>() {
options.encoding = "UTF-8"
}
tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar>() {
manifest {
attributes("Main-Class" to "org.yatopiamc.bot.YatopiaBot")
}
}
tasks {
build {
dependsOn(shadowJar)
}
test {
useJUnitPlatform()
}
}