Skip to content

Commit bbbaeb3

Browse files
committed
Try to fix build.
1 parent f62d458 commit bbbaeb3

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

dependencies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,4 +751,4 @@
751751

752752
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
753753

754-
This report was generated on **Tue Oct 15 23:56:00 EEST 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
754+
This report was generated on **Wed Oct 16 08:54:33 EEST 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).

gradle-plugin/src/main/kotlin/io/spine/chords/gradle/GradlePlugin.kt

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -91,26 +91,27 @@ public class GradlePlugin : Plugin<Project> {
9191
}
9292
}
9393

94-
val applyCodegenPlugins = project.tasks
94+
//val applyCodegenPlugins =
95+
project.tasks
9596
.register("applyCodegenPlugins", ApplyCodegenPlugins::class.java) { task ->
9697
task.dependsOn(addGradleWrapperRunPermission)
9798
task.workspaceDir = workspaceDir.path
9899
task.dependencies(project.extension.dependencies)
99100
task.codegenPluginsArtifact = project.extension.codegenPluginsArtifact
100101
}
101102

102-
val compileKotlin = project.tasks.findByName("compileKotlin")
103-
if (compileKotlin != null) {
104-
compileKotlin.dependsOn(applyCodegenPlugins)
105-
} else {
106-
project.logger.warn(
107-
"""
108-
Warning! `Chords-Gradle-plugin` will not be applied to module `${project.name}`.
109-
Task `compileKotlin` not found, so required dependency was not added.
110-
To generate code, execute the `applyCodegenPlugins` task before `compileKotlin`.
111-
""".trimIndent()
112-
)
113-
}
103+
// val compileKotlin = project.tasks.findByName("compileKotlin")
104+
// if (compileKotlin != null) {
105+
// compileKotlin.dependsOn(applyCodegenPlugins)
106+
// } else {
107+
// project.logger.warn(
108+
// """
109+
// Warning! `Chords-Gradle-plugin` will not be applied to module `${project.name}`.
110+
// Task `compileKotlin` not found, so required dependency was not added.
111+
// To generate code, execute the `applyCodegenPlugins` task before `compileKotlin`.
112+
// """.trimIndent()
113+
// )
114+
// }
114115
}
115116

116117
/**

0 commit comments

Comments
 (0)