-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
68 lines (57 loc) · 1.72 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
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import org.jlleitschuh.gradle.ktlint.reporter.ReporterType
group = "com.sunykarasuno"
version = "1.0.0"
plugins {
kotlin("jvm") version Versions.KOTLIN
id(Dependencies.Plugins.SHADOW) version Versions.SHADOW
id(Dependencies.Plugins.KTLINT) version Versions.KTLINT_PLUGIN
}
tasks {
named<ShadowJar>("shadowJar") {
archiveFileName.set("omega.jar")
manifest {
attributes(mapOf("Main-Class" to "com.sunykarasuno.MainKt"))
}
}
}
ktlint {
version.set(Versions.KTLINT)
reporters {
reporter(ReporterType.JSON)
}
kotlinScriptAdditionalPaths {
include(fileTree("buildSrc/"))
}
filter {
exclude("**/generated/**")
include("**/kotlin/**")
}
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
implementation(kotlin("stdlib"))
implementation(Dependencies.Bot.KOTLIN_REFLECT) // fixes classpath issue when creating JAR
// Rx
implementation(Dependencies.Bot.RX_JAVA)
implementation(Dependencies.Bot.RX_KOTLIN)
implementation(Dependencies.Bot.RX_RELAY)
// Networking and Authentication
implementation(Dependencies.Bot.RETROFIT)
implementation(Dependencies.Bot.RETROFIT_GSON)
implementation(Dependencies.Bot.OK_HTTP)
implementation(Dependencies.Bot.SCRIBE)
// Cron
implementation(Dependencies.Bot.QUARTZ)
// Database
implementation(Dependencies.Bot.POSTGRES)
implementation(Dependencies.Bot.EXPOSED_CORE)
implementation(Dependencies.Bot.EXPOSED_JDBC)
implementation(Dependencies.Bot.EXPOSED_DAO)
// Logging
implementation(Dependencies.Bot.SLF4J)
implementation(Dependencies.Bot.LOGGING)
}