Skip to content

Commit

Permalink
refactor: moved provider library to a sub-project
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronald Holshausen committed Mar 30, 2019
1 parent 843427f commit 6a47d12
Show file tree
Hide file tree
Showing 69 changed files with 36 additions and 235 deletions.
11 changes: 8 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
*/bin
# sbt specific
dist/*
/target/
/*/target/
lib_managed/
src_managed/
project/boot/
Expand Down Expand Up @@ -33,4 +31,11 @@ pkgdiff_reports/
.gradle/

out/

consumer/pact-jvm-consumer/target/
pact-jvm-consumer-groovy/target/
pact-jvm-consumer-junit/target/
pact-jvm-consumer-junit5/target/
pact-jvm-consumer-specs2/target/
pact-jvm-provider-scalasupport/target/
pact-jvm-provider-specs2/target/
provider/pact-jvm-provider/target/
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ allprojects {
}

subprojects {

if (name in ['core', 'consumer', 'provider']) {
return
}

buildscript {
repositories {
Expand Down
202 changes: 0 additions & 202 deletions pact-jvm-provider/LICENSE

This file was deleted.

30 changes: 0 additions & 30 deletions pact-jvm-provider/build.gradle

This file was deleted.

2 changes: 2 additions & 0 deletions provider/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Provider Pact-JVM Modules
=========================
File renamed without changes.
20 changes: 20 additions & 0 deletions provider/pact-jvm-provider/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
dependencies {
compile project(":core:pact-jvm-core-model"),
project(":core:pact-jvm-core-pact-broker"),
project(":core:pact-jvm-core-matchers"),
'commons-io:commons-io:2.5',
"org.fusesource.jansi:jansi:${project.jansiVersion}",
"org.apache.httpcomponents:httpclient:${project.httpClientVersion}",
'org.reflections:reflections:0.9.11'
implementation 'org.slf4j:slf4j-api:1.7.26'
implementation 'org.scala-lang:scala-library:2.12.8'

testCompile project("consumer:pact-jvm-consumer-groovy")
testCompile "ch.qos.logback:logback-classic:${project.logbackVersion}"
testCompile 'io.dropwizard:dropwizard-testing:1.3.7'
}

compileGroovy {
classpath = classpath.plus(files(compileKotlin.destinationDir))
dependsOn compileKotlin
}
2 changes: 2 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ project(':core:pact-jvm-core-matchers').projectDir = file('core/matchers')

include 'consumer:pact-jvm-consumer'

include 'provider:pact-jvm-provider'

//include 'pact-jvm-consumer-junit'
//include 'pact-jvm-consumer-junit5'
//include 'pact-jvm-consumer-java8'
Expand Down

0 comments on commit 6a47d12

Please sign in to comment.