-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
64 lines (50 loc) · 1.42 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
buildscript {
ext.kotlin_version = "1.6.10"
ext.ktor_version = '1.6.8'
ext.exposed_version = '0.36.1'
ext.jackson_version = '2.10.3'
ext.koemans_version = '1.3'
ext.java_version = "1.8"
repositories {
mavenCentral()
}
}
plugins {
id "org.jetbrains.kotlin.jvm" version "$kotlin_version"
}
allprojects {
repositories {
mavenCentral()
maven { url = "https://nexus.shinonometn.com/repository/maven-public/" }
}
group = 'com.shinonometn'
version = '1.0-SNAPSHOT'
}
subprojects {
apply plugin: 'java'
apply plugin: 'org.jetbrains.kotlin.jvm'
apply plugin: 'greeting'
apply plugin: 'music-server-document'
sourceCompatibility = java_version
targetCompatibility = java_version
group 'com.shinonometn'
version '1.0-SNAPSHOT'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
dependencies {
testImplementation group: 'org.jetbrains.kotlin', name: 'kotlin-test-junit', version: kotlin_version
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
}
musicServerDocument {
javaDoc {
it.scan("src/main/kotlin")
}
}
compileKotlin { kotlinOptions.jvmTarget = java_version }
compileTestKotlin { kotlinOptions.jvmTarget = java_version }
test {
useJUnitPlatform()
}
}