-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
47 lines (39 loc) · 1.39 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
group 'cz.richter.david'
version '1.0-SNAPSHOT'
apply plugin: 'kotlin'
apply plugin: 'groovy'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jre8', version: kotlin_version
compile "org.jetbrains.kotlin:kotlin-reflect"
compile "org.springframework.boot:spring-boot-starter-web"
compile group: 'es.usc.citius.hipster', name: 'hipster-core', version: '1.0.1'
testCompile group: 'org.openjdk.jmh', name: 'jmh-core', version: '1.19'
testCompile group: 'org.openjdk.jmh', name: 'jmh-generator-annprocess', version: '1.19'
testCompile group: 'org.spockframework', name: 'spock-core', version: '1.1-groovy-2.4'
testCompile group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.4.12'
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
buildscript {
ext.kotlin_version = '1.1.4-3'
ext.spring_version = '1.5.7.RELEASE'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jre8', version: kotlin_version
classpath "org.springframework.boot:spring-boot-gradle-plugin:$spring_version"
}
}