forked from mailslurp/examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (45 loc) · 1.48 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
plugins {
id 'org.springframework.boot' version '2.1.7.RELEASE'
id 'java'
}
apply plugin: 'maven'
apply plugin: 'io.spring.dependency-management'
group = 'com.mailslurp'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
maven { url 'https://jitpack.io' }
mavenCentral()
}
dependencies {
// Annotation processors
annotationProcessor('org.projectlombok:lombok')
compileOnly('org.projectlombok:lombok')
testAnnotationProcessor('org.projectlombok:lombok')
testCompileOnly('org.projectlombok:lombok')
// spring
implementation 'org.springframework.boot:spring-boot-starter:2.1.4.RELEASE'
implementation 'org.springframework.boot:spring-boot-starter-web:2.1.4.RELEASE'
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.1.4.RELEASE'
compile 'org.springframework.boot:spring-boot-starter-data-jpa:2.1.4.RELEASE'
runtime 'com.h2database:h2:1.4.199'
// mailslurp
implementation 'com.github.mailslurp:mailslurp-client-java:7.0.11-RELEASE'
}
task createPom {
pom {
project {
groupId 'org.example'
artifactId 'test'
version '1.0.0'
inceptionYear '2008'
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}
}
}.writeTo("pom.xml")
}