We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d787188 commit 2c2495dCopy full SHA for 2c2495d
src/testInt/groovy/io/openapiprocessor/gradle/support/PluginSpec.groovy
@@ -16,6 +16,7 @@ abstract class PluginSpec extends Specification {
16
File testProjectDir
17
18
private File buildFile
19
+ private File propsFile
20
private File openapiFile
21
private String projectDir
22
@@ -55,4 +56,10 @@ abstract class PluginSpec extends Specification {
55
56
.build()
57
}
58
59
+ BuildResult build(String gradleVersion, String properties) {
60
+ propsFile = new File(testProjectDir, "gradle.properties")
61
+ propsFile << properties
62
+
63
+ return build(gradleVersion)
64
+ }
65
0 commit comments