We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c759bb3 commit 76ce612Copy full SHA for 76ce612
1 file changed
build.gradle.kts
@@ -96,3 +96,16 @@ idea.project.settings {
96
)
97
}
98
99
+
100
+tasks.named<Wrapper>("wrapper") {
101
+ actions.addLast {
102
+ val script = scriptFile.readText()
103
+ val scriptLines = script.lines().toMutableList()
104
105
+ val insertAtLine = scriptLines.indexOf("# Use the maximum available, or set MAX_FD != -1 to use that value.")
106
+ scriptLines.add(insertAtLine, "")
107
+ scriptLines.add(insertAtLine, $$". \"${APP_HOME}/gradle/gradlew-include.sh\"")
108
109
+ scriptFile.writeText(scriptLines.joinToString("\n"))
110
+ }
111
+}
0 commit comments