-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
83 lines (70 loc) · 2.32 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
77
78
79
80
81
82
83
buildscript {
ext {
kotlinVersion = "1.2.41"
junitPlatformVersion = "1.0.0"
spekVersion = "1.1.5"
joobyVersion = "1.5.0"
}
repositories {
mavenLocal()
jcenter()
mavenCentral()
}
dependencies {
classpath "com.google.gradle:osdetector-gradle-plugin:1.4.0"
classpath "io.spring.gradle:dependency-management-plugin:1.0.4.RELEASE"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "org.jooby:jooby-gradle-plugin:$joobyVersion"
classpath "org.junit.platform:junit-platform-gradle-plugin:$junitPlatformVersion"
}
}
repositories {
mavenLocal()
jcenter()
mavenCentral()
}
apply plugin: "io.spring.dependency-management"
apply plugin: "com.google.osdetector"
apply plugin: "java"
apply plugin: "kotlin"
apply plugin: "application"
apply plugin: "jooby"
apply plugin: "org.junit.platform.gradle.plugin"
group "com.processor.csv"
version "1.0"
// Startup class:
mainClassName = "com.processor.csv.AppKt"
sourceCompatibility = 1.8
dependencyManagement {
imports {
mavenBom "org.jooby:jooby-bom:$joobyVersion"
}
}
dependencies {
compile "org.jooby:jooby-lang-kotlin"
compile "org.jooby:jooby-netty"
compile "io.netty:netty-transport-native-epoll:${dependencyManagement.importedProperties['netty.version']}:${osdetector.classifier.contains('linux') ? 'linux-x86_64' : ''}"
compile "io.netty:netty-tcnative-boringssl-static:${dependencyManagement.importedProperties['boringssl.version']}:${osdetector.classifier}"
compile "org.jooby:jooby-hbs:1.6.2"
implementation 'com.github.javafaker:javafaker:1.0.1'
testCompile "org.jetbrains.spek:spek-api:$spekVersion"
testRuntime "org.jetbrains.spek:spek-junit-platform-engine:$spekVersion"
testCompile "org.junit.platform:junit-platform-launcher:$junitPlatformVersion"
testCompile "org.amshove.kluent:kluent:1.35"
testCompile "io.rest-assured:rest-assured:3.1.0"
}
sourceSets {
main {
resources {
srcDirs = ["src/main/resources"]
}
}
}
joobyRun {
mainClassName = 'com.processor.csv.AppKt'
compiler = 'on'
includes = ['**/*.class', '**/*.conf', '**/*.properties']
excludes = []
logLevel = 'info'
srcExtensions = [".java", ".kt", ".conf", ".properties"]
}