Skip to content

Commit

Permalink
chore(deps): update dependency gradle to v7 (#45)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency gradle to v7

* chore(gradle): deprecations handled

* chore(gradle): adjusted to Gradle 7

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Michal Augustýn <[email protected]>
Co-authored-by: Michal Augustýn <[email protected]>
  • Loading branch information
4 people authored Apr 20, 2021
1 parent 47a1595 commit e690786
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
9 changes: 8 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,17 @@ dependencies {

testImplementation 'junit:junit:4.13.2'
testImplementation gradleTestKit()
testImplementation ('org.spockframework:spock-core:1.3-groovy-2.5') {
testImplementation ('org.spockframework:spock-core:2.0-M5-groovy-3.0') {
exclude group:'org.codehaus.groovy'
}
}

test {
useJUnitPlatform()
testLogging {
events 'failed'
exceptionFormat 'full'
}
}

sourceCompatibility = JavaVersion.VERSION_1_8
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ class WartremoverPluginTest extends Specification {
project.plugins.apply 'scala'
project.plugins.apply 'wartremover'
project.repositories {
jcenter()
mavenCentral()
}
project.dependencies {
compile 'org.scala-lang:scala-library:2.12.3'
implementation 'org.scala-lang:scala-library:2.12.3'
}
project.wartremover {
warningWarts.add('MyProduction')
Expand All @@ -39,7 +39,7 @@ class WartremoverPluginTest extends Specification {
project.plugins.apply 'scala'
project.plugins.apply 'wartremover'
project.repositories {
jcenter()
mavenCentral()
}
project.dependencies {
implementation 'org.scala-lang:scala-library:2.11.12'
Expand Down

0 comments on commit e690786

Please sign in to comment.