Skip to content

Instantly share code, notes, and snippets.

@lyhcode
Created November 2, 2011 03:06
Show Gist options
  • Save lyhcode/1332740 to your computer and use it in GitHub Desktop.
Save lyhcode/1332740 to your computer and use it in GitHub Desktop.
Gradle with Groovy and SpockFramework testing
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'eclipse'
repositories {
mavenCentral()
}
dependencies {
groovy 'org.codehaus.groovy:groovy-all:1.8.3'
testCompile 'org.spockframework:spock-core:0.5-groovy-1.8'
}
sourceCompatibility = 1.5
version = '1.0'
jar {
manifest {
attributes 'Implementation-Title': 'PLWebXML API', 'Implementation-Version': version
}
}
import spock.lang.Specification
class SimpleReadWriteSpecification extends Specification {
def "Simple PLXML file read"() {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment