forked from rmarinsky/io.swagger.petstore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
47 lines (39 loc) · 1.11 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 'io.swagger.petstore'
version '0.1'
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.com.github.opengl-8080:assertjGen-gradle-plugin:2.0.0"
}
}
apply plugin: "com.github.opengl-BOBO.assertjGen2"
apply plugin: 'java'
sourceCompatibility = 1.8
repositories {
jcenter()
}
ext {
restAssuredVer = "3.0.7"
}
dependencies {
compile group: 'junit', name: 'junit', version: '4.12'
compile "io.rest-assured:scala-support:$restAssuredVer"
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.4'
compile 'org.assertj:assertj-core:3.5.2'
}
assertjGen {
packages = ['io.swagger.petstore.models.pet']
targetDir = "src/main/java"
hierarchical = true
entryPointClassPackage = 'io.swagger.petstore.assertions'
generateAssertionsInPackage = 'io.swagger.petstore.assertions.pet'
generateAssertionsForAllFields = true
generateBddAssertions = false
generateSoftAssertions = false
generateJUnitSoftAssertions = false
generateAssertionsForAllFields = true
}