This repository has been archived by the owner on Sep 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
85 lines (72 loc) · 2.42 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
84
85
buildscript {
ext {
springBootVersion = '1.5.11.RELEASE'
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath (
"com.google.cloud.tools:appengine-gradle-plugin:+",
"org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion",
)
}
}
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'com.google.cloud.tools.appengine'
apply plugin: 'wrapper'
sourceCompatibility = 1.8
targetCompatibility = 1.8
jar {
baseName = 'simple-rest'
version = '0.1.0-SNAPSHOT'
}
group = "com.ric.java"
version = "0.1.0-SNAPSHOT"
repositories {
jcenter()
mavenCentral()
}
dependencies {
//Google app engine
compile 'com.google.appengine:appengine:+'
providedCompile 'javax.servlet:javax.servlet-api:3.1.0'
compile 'com.google.cloud:google-cloud-datastore:1.25.0'
compile "org.springframework.boot:spring-boot-starter-web"
compile "org.springframework.boot:spring-boot-starter-data-jpa"
compile "org.springframework.boot:spring-boot-starter-data-rest"
compile "org.springframework.boot:spring-boot-starter-mobile"
compile "org.springframework.boot:spring-boot-starter-security"
compile 'io.jsonwebtoken:jjwt:0.7.0'
compile "org.postgresql:postgresql:42.1.4"
compile "com.fasterxml.jackson.datatype:jackson-datatype-joda:2.9.1"
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.1"
compile 'joda-time:joda-time:2.9'
compile "org.jadira.usertype:usertype.core:5.0.0.GA"
//Swagger
compile "io.springfox:springfox-swagger2:2.8.0"
compile "io.springfox:springfox-swagger-ui:2.8.0"
//Testing
testCompile 'junit:junit:4.12'
testCompile "org.springframework.boot:spring-boot-starter-test"
testCompile 'com.google.appengine:appengine-testing:+'
testCompile 'com.google.appengine:appengine-api-stubs:+'
testCompile 'com.google.appengine:appengine-tools-sdk:+'
}
configurations {
compile.exclude module: "jul-to-slf4j"
compile.exclude group: "org.springframework.boot", module: "spring-boot-starter-tomcat"
}
appengine {
deploy { // deploy configuration
stopPreviousVersion = true // default - stop the current version
promote = true // default - & make this the current version
}
}
wrapper {
gradleVersion = '4.6'
}