-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
60 lines (50 loc) · 1.36 KB
/
build.gradle.kts
File metadata and controls
60 lines (50 loc) · 1.36 KB
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
group = "info.kurozeropb.azurlane"
version = "2.1.0"
plugins {
eclipse
idea
java
application
kotlin("jvm") version "1.3.50"
id("com.github.johnrengelman.shadow") version "5.1.0"
}
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50")
}
}
application {
mainClassName = "${group}.API"
}
defaultTasks("run")
repositories {
mavenCentral()
jcenter()
}
dependencies {
implementation(kotlin("stdlib"))
implementation("org.jsoup:jsoup:1.12.1")
implementation("io.javalin:javalin:3.6.0")
implementation("org.slf4j:slf4j-simple:1.8.0-beta4")
implementation("com.fasterxml.jackson.core:jackson-databind:2.10.0")
implementation("it.skrape:skrapeit-core:1.0.0-alpha1")
implementation("org.litote.kmongo:kmongo:3.11.1")
implementation("io.github.cdimascio:java-dotenv:5.1.3")
implementation("com.google.code.gson:gson:2.8.6")
implementation("javax.mail:mail:1.5.0-b01")
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
tasks.withType<ShadowJar> {
baseName = "azurlane-api"
classifier = ""
version = version
destinationDir = file("build/libs")
}