Skip to content

Commit

Permalink
fixed dependency issue with maven Closes #8
Browse files Browse the repository at this point in the history
  • Loading branch information
joke committed Jan 16, 2021
1 parent e21917f commit cfa56d9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 20 deletions.
7 changes: 0 additions & 7 deletions examples/spock13/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,4 @@ dependencies {
testImplementation project(':spock-mockable')
testImplementation 'org.spockframework:spock-core'
testImplementation 'org.objenesis:objenesis:3.1'

testRuntime 'org.slf4j:slf4j-simple:1.7.30'
testRuntime 'net.bytebuddy:byte-buddy:1.10.19'
}

test {
dependsOn ':spock-mockable:jar'
}
2 changes: 0 additions & 2 deletions examples/spock20/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ dependencies {

testImplementation 'org.spockframework:spock-core'
testImplementation project(':spock-mockable')

testRuntime 'org.slf4j:slf4j-simple:1.7.30'
}

test {
Expand Down
15 changes: 4 additions & 11 deletions spock-mockable/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,17 @@ plugins {
id 'java-library'
id 'groovy'
id 'maven-publish'
id 'signing'
}

dependencies {
compileOnly platform('org.codehaus.groovy:groovy-bom:3.0.5')
compileOnly platform('org.spockframework:spock-bom:2.0-M3-groovy-3.0')
api platform('org.codehaus.groovy:groovy-bom:3.0.7')
api platform('org.spockframework:spock-bom:2.0-M4-groovy-3.0')

compileOnly 'org.codehaus.groovy:groovy'
implementation 'org.codehaus.groovy:groovy'
implementation 'org.spockframework:spock-core'

implementation 'net.bytebuddy:byte-buddy'
implementation 'org.avaje:avaje-agentloader:4.3'
implementation 'org.slf4j:slf4j-api:1.7.30'
implementation 'org.spockframework:spock-core'

testImplementation platform('org.codehaus.groovy:groovy-bom:3.0.5')
testImplementation platform('org.spockframework:spock-bom:2.0-M3-groovy-3.0')

testImplementation 'net.bytebuddy:byte-buddy:1.10.19'
}

jar {
Expand Down

0 comments on commit cfa56d9

Please sign in to comment.