-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
76 lines (64 loc) · 2.34 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
74
75
76
apply plugin: "idea"
apply plugin: "org.springframework.boot"
apply plugin: "kotlin-spring"
apply plugin: "kotlin" // Required for Kotlin integration
group "by.next.way"
version "1.0-SNAPSHOT"
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
repositories {
mavenLocal()
mavenCentral()
maven {
name 'm2-dv8tion'
url 'https://m2.dv8tion.net/releases'
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlinPluginVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinPluginVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinPluginVersion"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinCoroutinesVersion"
implementation "org.apache.logging.log4j:log4j-api:$log4jVersion"
implementation "org.apache.logging.log4j:log4j-core:$log4jVersion"
implementation "com.fasterxml.jackson.module:jackson-module-kotlin:$kotlinJacksonVersion"
implementation "org.springframework.boot:spring-boot-starter-web:$springBootVersion"
implementation "com.google.code.gson:gson:$gsonVersion"
implementation "org.apache.httpcomponents:httpclient:$httpClientVersion"
implementation "org.apache.httpcomponents:httpmime:$httpClientVersion"
implementation "com.github.ben-manes.caffeine:caffeine:$caffeineVersion"
implementation "org.springdoc:springdoc-openapi-ui:$swaggerVersion"
testImplementation "org.junit.jupiter:junit-jupiter-api:$jupiterVersion"
testImplementation "org.junit.jupiter:junit-jupiter-engine:$jupiterVersion"
testImplementation "org.mockito:mockito-core:$mockitoVersion"
testImplementation "de.jodamob.kotlin:kotlin-runner-spock:$kotlinSpockVersion"
}
compileJava {
options.encoding = "UTF-8"
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
compileKotlin {
kotlinOptions {
jvmTarget = "11"
freeCompilerArgs = ["-Xjsr305=strict -jvm-target 11"]
}
}
buildscript {
repositories {
mavenCentral()
maven {
name 'm2-dv8tion'
url 'https://m2.dv8tion.net/releases'
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinPluginVersion"
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlinPluginVersion"
classpath "org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion"
}
}
jar {
}
bootJar {
launchScript()
}