We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7df7b42 commit fd8753aCopy full SHA for fd8753a
src/test/groovy/net/researchgate/release/ReleasePluginTests.groovy
@@ -18,9 +18,12 @@ class ReleasePluginTests extends Specification {
18
19
Project project
20
21
- def testDir = new File("build/tmp/test/${getClass().simpleName}")
+ File testDir = new File("build/tmp/test/${getClass().simpleName}")
22
23
def setup() {
24
+ if (!testDir.exists()) {
25
+ testDir.mkdirs()
26
+ }
27
project = ProjectBuilder.builder().withName('ReleasePluginTest').withProjectDir(testDir).build()
28
def testVersionPropertyFile = project.file('version.properties')
29
testVersionPropertyFile.withWriter { w ->
0 commit comments