Skip to content

Commit

Permalink
Updated to Spock 0.7 and removed an explicit dependency to Spock (sho…
Browse files Browse the repository at this point in the history
…uld be configured by the plugin client)
  • Loading branch information
Marcin Gryszko committed Jan 3, 2013
1 parent 66ecc60 commit 11b9618
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 16 deletions.
17 changes: 12 additions & 5 deletions EqualsHashcodeTestGrailsPlugin.groovy
@@ -1,13 +1,20 @@
class EqualsHashcodeTestGrailsPlugin {
def version = '0.2-spock-0.6'
def grailsVersion = '2.0.0 > *'
def dependsOn = [spock: '0.6']
def version = '0.3'
def grailsVersion = '1.3.7 > *'

def author = 'Marcin Gryszko'
def authorEmail = 'marcin@grysz.com'
def title = 'Base Spock specification for equals and hashCode tests'
def description = '''\\
Base Spock specification for testing equals and hashCode methods of Grails domain classes and other Groovy objects.
'''

def author = 'Marcin Gryszko'
def authorEmail = 'marcin.gryszko@osoco.es'
def developers = [
[name: 'Marcin Gryszko', email: 'marcin.gryszko@osoco.es'],
]

def license = 'APACHE'
def documentation = 'http://osoco.github.com/grails-equals-hashcode/'
def scm = [url: 'https://github.com/osoco/grails-equals-hashcode']
def issueManagement = [system: 'GitHub', url: 'https://github.com/osoco/grails-equals-hashcode/issues']
}
7 changes: 2 additions & 5 deletions application.properties
@@ -1,7 +1,4 @@
#Grails Metadata file
#Sun Mar 11 21:40:28 CET 2012
app.grails.version=2.0.1
#Thu Jan 03 17:19:07 CET 2013
app.grails.version=2.1.3
app.name=equals-hashcode-test
plugins.grom=0.2.3
plugins.release=1.0.1
plugins.spock=0.6
21 changes: 15 additions & 6 deletions grails-app/conf/BuildConfig.groovy
@@ -1,17 +1,26 @@
grails.release.scm.enabled = false
grails.project.docs.output.dir = "docs"

grails.project.dependency.resolution = {
inherits("global") {
excludes 'ehcache'
}
inherits 'global'
log 'warn'

repositories {
grailsPlugins()
grailsHome()
grailsCentral()

mavenCentral()
}

dependencies {
test 'commons-lang:commons-lang:2.6'
}

plugins {
test ":spock:0.7", {
export = false
}

build(':release:2.2.0', ':rest-client-builder:1.0.3') {
export = false
}
}
}
Empty file removed scripts/_Install.groovy
Empty file.
Empty file removed scripts/_Uninstall.groovy
Empty file.
Empty file removed scripts/_Upgrade.groovy
Empty file.

0 comments on commit 11b9618

Please sign in to comment.