Fixed gradle setup
This commit is contained in:
@@ -13,7 +13,7 @@ apply plugin: 'org.springframework.boot'
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
|
||||
group = 'com.example'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
version = '0.0.1'
|
||||
bootJar {
|
||||
baseName = 'contract-rest-client'
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ apply plugin: 'spring-cloud-contract'
|
||||
|
||||
|
||||
group = 'com.example'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
version = '0.0.1'
|
||||
bootJar {
|
||||
baseName = 'contract-rest-service'
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ apply plugin: 'io.spring.dependency-management'
|
||||
|
||||
bootJar {
|
||||
baseName = 'contract-rest-client'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
version = '0.0.1'
|
||||
}
|
||||
sourceCompatibility = 1.8
|
||||
targetCompatibility = 1.8
|
||||
|
||||
@@ -21,7 +21,7 @@ apply plugin: 'spring-cloud-contract'
|
||||
|
||||
bootJar {
|
||||
baseName = 'contract-rest-service'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
version = '0.0.1'
|
||||
}
|
||||
sourceCompatibility = 1.8
|
||||
targetCompatibility = 1.8
|
||||
|
||||
@@ -12,7 +12,7 @@ buildscript {
|
||||
}
|
||||
|
||||
group = 'com.example'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
version = '0.0.1'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
||||
@@ -40,7 +40,7 @@ buildscript {
|
||||
}
|
||||
|
||||
group = 'com.example'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
version = '0.0.1'
|
||||
|
||||
// tag::deps_repos[]
|
||||
repositories {
|
||||
|
||||
@@ -12,7 +12,7 @@ buildscript {
|
||||
}
|
||||
|
||||
group = 'com.example'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
version = '0.0.1'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@@ -42,7 +42,7 @@ dependencies {
|
||||
testCompile 'org.springframework.cloud:spring-cloud-contract-wiremock'
|
||||
testCompile 'org.springframework.cloud:spring-cloud-starter-contract-stub-runner'
|
||||
testCompile "org.springframework.boot:spring-boot-starter-test"
|
||||
testCompile "com.example:http-server-restdocs:0.0.1-SNAPSHOT:stubs"
|
||||
testCompile "com.example:http-server-restdocs:0.0.1:stubs"
|
||||
}
|
||||
|
||||
test {
|
||||
|
||||
@@ -16,7 +16,7 @@ buildscript {
|
||||
}
|
||||
|
||||
group = 'com.example'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
version = '0.0.1'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
||||
@@ -12,7 +12,7 @@ buildscript {
|
||||
}
|
||||
|
||||
group = 'com.example'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
version = '0.0.1'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
||||
@@ -8,7 +8,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = 'com.example'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
version = '0.0.1'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
||||
Reference in New Issue
Block a user