We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c759bb3 commit c0b7110Copy full SHA for c0b7110
1 file changed
build.gradle.kts
@@ -96,3 +96,17 @@ 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 =
106
+ scriptLines.indexOf("# Use the maximum available, or set MAX_FD != -1 to use that value.")
107
+ scriptLines.add(insertAtLine, "")
108
+ scriptLines.add(insertAtLine, $$". \"${APP_HOME}/gradle/gradlew-include.sh\"")
109
110
+ scriptFile.writeText(scriptLines.joinToString("\n"))
111
+ }
112
+}
0 commit comments