forked from medly/apifi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
47 lines (39 loc) · 1.31 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
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
id 'application'
}
repositories {
jcenter()
maven { url 'https://jitpack.io' }
}
dependencies {
implementation platform('org.jetbrains.kotlin:kotlin-bom')
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
implementation 'io.swagger.parser.v3:swagger-parser-v3:2.0.16'
implementation 'org.openapitools:openapi-generator-cli:3.3.4'
implementation 'com.squareup:kotlinpoet:1.5.0'
implementation 'com.github.medly:ktee:master-SNAPSHOT'
implementation 'org.slf4j:slf4j-simple:1.7.30'
implementation 'org.apache.commons:commons-text:1.8'
testImplementation 'org.jetbrains.kotlin:kotlin-test'
testImplementation 'org.jetbrains.kotlin:kotlin-test-junit5'
testImplementation 'io.kotlintest:kotlintest-runner-junit5:3.4.2'
}
test {
useJUnitPlatform()
testLogging {
events "PASSED", "FAILED", "SKIPPED"
exceptionFormat "full"
}
}
application {
// Define the main class for the application.
mainClassName = 'apifi.AppKt'
}
jar {
manifest {
attributes 'Main-Class': "${mainClassName}"
}
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}