Skip to content
Permalink
Browse files

Add notes around the missing features of the Kotlin dev plugin

  • Loading branch information...
lacasseio committed Oct 6, 2019
1 parent 4c084d2 commit 9e9d9aa86d6087cfaf4f397e6875b67f0e41fb39
Showing with 22 additions and 13 deletions.
  1. +22 −13 buildSrc/build.gradle.kts
@@ -1,25 +1,17 @@
plugins {
`kotlin-dsl`
`java-gradle-plugin`
}

repositories {
jcenter()
gradlePluginPortal()
// This is a failed attempt to use the dev plugins
// id("dev.gradleplugins.kotlin-gradle-plugin") version "0.0.21"
// id("org.jetbrains.kotlin.jvm") version "1.3.50"
}

// The following should be replaced by the dev plugins
kotlinDslPluginOptions {
experimentalWarning.set(false)
}

dependencies {
implementation(kotlin("gradle-plugin"))
implementation("com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4")
implementation("com.github.jengelman.gradle.plugins:shadow:5.1.0")
implementation("gradle.plugin.org.jetbrains.gradle.plugin.idea-ext:gradle-idea-ext:0.4.2")
implementation("com.gradle.publish:plugin-publish-plugin:0.10.1")
}

gradlePlugin {
plugins {
register("publishing-plugin") {
@@ -55,4 +47,21 @@ gradlePlugin {
implementationClass = "dev.gradleplugins.SetupProjectPlugin"
}
}
}
}

dependencies {
implementation(kotlin("gradle-plugin"))
}

// Non dev plugin specific configuration
repositories {
jcenter()
gradlePluginPortal()
}

dependencies {
implementation("com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4")
implementation("com.github.jengelman.gradle.plugins:shadow:5.1.0")
implementation("gradle.plugin.org.jetbrains.gradle.plugin.idea-ext:gradle-idea-ext:0.4.2")
implementation("com.gradle.publish:plugin-publish-plugin:0.10.1")
}

0 comments on commit 9e9d9aa

Please sign in to comment.
You can’t perform that action at this time.