blob: 44a7dfa2c7222e544263aa1ab7585d7142a1dbbf [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed oHistoryRecordGetTextToRunTestsn an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
dependencies {
api rootProject // NioExtensions uses Closure...
testImplementation project(':groovy-test')
testImplementation ("org.spockframework:spock-core:$spockVersion") {
exclude group: 'org.codehaus.groovy'
}
testImplementation ("org.spockframework:spock-junit4:$spockVersion")
}
task moduleDescriptor(type: org.codehaus.groovy.gradle.WriteExtensionDescriptorTask) {
extensionClasses = 'org.apache.groovy.nio.extensions.NioExtensions'
}
test {
useJUnitPlatform()
systemProperty "spock.iKnowWhatImDoing.disableGroovyVersionCheck", "true"
}
compileJava.dependsOn moduleDescriptor