-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle.backup.txt
60 lines (51 loc) · 1.42 KB
/
build.gradle.backup.txt
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
group 'id.goindonesia.area'
applicationName 'area-indonesia'
version '1.0'
buildscript {
ext {
springBootVersion = '1.5.3.RELEASE'
}
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
/**
plugins {
id "org.flywaydb.flyway" version "4.1.2"
}
flyway {
url = 'jdbc:h2:mem:AZ;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE'
user = 'sa'
}
**/
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
sourceCompatibility = 1.8
jar {
baseName = ${applicationName}
version = ${version}
}
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-data-jpa')
// compile('org.flywaydb:flyway-core:4.1.2')
compile('org.springframework.boot:spring-boot-starter-jdbc')
compile('org.springframework.boot:spring-boot-starter-jersey')
compile('org.springframework.boot:spring-boot-starter-validation')
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.hibernate:hibernate-core:5.2.10.Final')
compile('org.hibernate:hibernate-search-orm:5.7.0.Final')
compile('com.google.code.gson:gson:2.8.0')
compile('commons-lang:commons-lang:2.6')
compile('commons-io:commons-io:2.5')
runtime('com.h2database:h2')
testCompile('org.springframework.boot:spring-boot-starter-test')
}