-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.gradle
More file actions
104 lines (87 loc) · 3.28 KB
/
build.gradle
File metadata and controls
104 lines (87 loc) · 3.28 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
buildscript {
ext {
kotlinVersion = '1.1.2'
springBootVersion = '1.5.2.RELEASE'
vertxVersion = '3.4.1'
logbackVersion = '1.1.7'
commonsLangVersion = '3.4'
commonsCodecVersion = '1.10'
jacksonVersion = '2.9.0.pr3'
hibernateValidatorVersion = '5.3.3.Final'
pebbleVersion = '2.3.0'
jBCryptVersion = '0.4.1'
jUnitVersion = '4.12'
logstashLogbackEncoderVersion = '4.7'
papertrailLogbackVersion = '1.0.0'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}")
classpath("org.jetbrains.kotlin:kotlin-allopen:${kotlinVersion}")
}
}
apply plugin: 'kotlin'
apply plugin: 'kotlin-spring'
apply plugin: 'idea'
apply plugin: 'application'
apply plugin: 'org.springframework.boot'
version = '1.0-SNAPSHOT'
sourceCompatibility = 1.8
group 'org.jasoet.vertx'
mainClassName = 'org.jasoet.vertx.VertxApplication'
compileKotlin {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
kotlinOptions {
jvmTarget = "1.8"
apiVersion = "1.1"
languageVersion = "1.1"
}
}
compileTestKotlin {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
kotlinOptions {
jvmTarget = "1.8"
apiVersion = "1.1"
languageVersion = "1.1"
}
}
repositories {
mavenCentral()
}
dependencies {
compile "io.vertx:vertx-core:$vertxVersion"
compile "io.vertx:vertx-rx-java:$vertxVersion"
compile "io.vertx:vertx-web:$vertxVersion"
compile "io.vertx:vertx-web-templ-pebble:$vertxVersion"
compile "io.vertx:vertx-config:$vertxVersion"
compile "io.vertx:vertx-lang-kotlin:$vertxVersion"
compile "io.vertx:vertx-hazelcast:$vertxVersion"
compile "io.vertx:vertx-auth-common:$vertxVersion"
compile "com.mitchellbosecke:pebble:${pebbleVersion}"
compile "com.fasterxml.jackson.module:jackson-module-kotlin:$jacksonVersion"
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jacksonVersion"
compile "com.fasterxml.jackson.module:jackson-module-parameter-names:$jacksonVersion"
compile "org.apache.commons:commons-lang3:${commonsLangVersion}"
compile "commons-codec:commons-codec:${commonsCodecVersion}"
compile('org.springframework.boot:spring-boot-starter-data-jpa')
compile('org.springframework.boot:spring-boot-starter-jdbc')
compile('org.springframework:spring-web')
compile("org.apache.httpcomponents:httpclient")
compile("org.jetbrains.kotlin:kotlin-stdlib-jre8:${kotlinVersion}")
compile "org.jetbrains.kotlin:kotlin-runtime:$kotlinVersion"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
runtime('mysql:mysql-connector-java')
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompile "io.vertx:vertx-unit:$vertxVersion"
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlinVersion"
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlinVersion"
}
task wrapper(type: Wrapper) {
gradleVersion = '3.5'
}