This is an automated email from the ASF dual-hosted git repository.
vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/master by this push:
new 2851e16 Remove "no valid plugin descriptors were found" build-time
warning
2851e16 is described below
commit 2851e1692f5b0fcf61d036ede0d923fb502da4f2
Author: Vladimir Sitnikov <[email protected]>
AuthorDate: Thu May 28 19:04:53 2020 +0300
Remove "no valid plugin descriptors were found" build-time warning
---
buildSrc/build.gradle.kts | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts
index d89dc34..40446ca 100644
--- a/buildSrc/build.gradle.kts
+++ b/buildSrc/build.gradle.kts
@@ -19,7 +19,7 @@ import com.github.vlsi.gradle.properties.dsl.props
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
- java
+ `embedded-kotlin`
`kotlin-dsl` apply false
id("com.github.autostyle")
id("com.github.vlsi.gradle-extensions")
@@ -41,7 +41,9 @@ allprojects {
}
fun Project.applyKotlinProjectConventions() {
- apply(plugin = "org.gradle.kotlin.kotlin-dsl")
+ if (project != rootProject) {
+ apply(plugin = "org.gradle.kotlin.kotlin-dsl")
+ }
plugins.withType<KotlinDslPlugin> {
configure<KotlinDslPluginOptions> {