This repository has been archived by the owner on Oct 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
67 lines (53 loc) · 1.54 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
plugins {
id 'java-library'
id 'org.jetbrains.kotlin.jvm' version '1.3.41'
id 'maven-publish'
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
mavenCentral()
}
apply plugin: 'kotlin'
apply plugin: 'idea'
apply from: 'publishing.gradle'
dependencies {
platform('org.jetbrains.kotlin:kotlin-bom')
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
compile "ch.qos.logback:logback-classic:1.2.6"
compile "io.github.microutils:kotlin-logging:1.6.20"
compile "commons-beanutils:commons-beanutils:1.9.3"
testImplementation "io.kotlintest:kotlintest-core:3.3.2"
testImplementation "io.kotlintest:kotlintest-assertions:3.3.2"
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.3.2"
testImplementation "org.jetbrains.kotlin:kotlin-test:1.3.50"
testImplementation "org.jetbrains.kotlin:kotlin-test-junit:1.3.50"
testImplementation "org.junit.jupiter:junit-jupiter-api:5.4.2"
testRuntime "org.junit.jupiter:junit-jupiter-engine:5.4.2"
testRuntime "cglib:cglib-nodep:3.1"
}
sourceSets {
main {
resources.srcDir 'src/main/resources'
}
}
task sourcesJar(type: Jar) {
group 'Build'
description 'An archive of the source code'
classifier 'sources'
from sourceSets.main.allSource
}
test {
useJUnitPlatform()
testLogging {
events "failed"
exceptionFormat "short"
showStandardStreams = true
}
}
jar.finalizedBy sourcesJar
artifacts {
sourcesJar
}