-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
50 lines (42 loc) · 1.13 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
group 'test'
version '1.0-SNAPSHOT'
task wrapper(type: Wrapper) {
gradleVersion = '3.1'
distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip"
}
buildscript {
ext.kotlin_version = '1.0.6'
ext.jpa_version = '2.1.1'
ext.requery_version = '1.1.0'
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-noarg:$kotlin_version"
}
}
apply plugin: 'kotlin'
apply plugin: 'kotlin-jpa'
apply plugin: 'kotlin-kapt'
repositories {
mavenLocal()
jcenter()
mavenCentral()
}
dependencies {
compile "io.requery:requery-kotlin:$requery_version"
kapt "io.requery:requery-processor:$requery_version"
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "org.eclipse.persistence:javax.persistence:$jpa_version"
testCompile 'junit:junit:4.12'
testCompile 'com.h2database:h2:1.4.191'
}
sourceSets {
main {
kotlin {
srcDir "${buildDir}/generated/source/kapt/main/"
}
}
}