Project initialization.
This commit is contained in:
+2
-8
@@ -3,20 +3,18 @@ plugins {
|
||||
}
|
||||
|
||||
version = "1.0"
|
||||
description = "Spock Framework - Example Project"
|
||||
description = "simple-jbdd is a simple BDD testing framework for Java."
|
||||
|
||||
// Spock works with Java 1.8 and above
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion.set(JavaLanguageVersion.of(8))
|
||||
languageVersion.set(JavaLanguageVersion.of(17))
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
// Spock releases are available from Maven Central
|
||||
mavenCentral()
|
||||
// Spock snapshots are available from the Sonatype OSS snapshot repository
|
||||
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -31,10 +29,6 @@ dependencies {
|
||||
testImplementation "org.hamcrest:hamcrest-core:2.2" // only necessary if Hamcrest matchers are used
|
||||
testRuntimeOnly 'net.bytebuddy:byte-buddy:1.14.8' // allows mocking of classes (in addition to interfaces)
|
||||
testRuntimeOnly "org.objenesis:objenesis:3.3" // allows mocking of classes without default constructor (together with ByteBuddy or CGLIB)
|
||||
|
||||
// dependencies used by examples in this project
|
||||
testRuntimeOnly "com.h2database:h2:2.2.222"
|
||||
implementation "org.apache.groovy:groovy-sql"
|
||||
}
|
||||
|
||||
test {
|
||||
|
||||
Reference in New Issue
Block a user