Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle plugin should be deployed to plugins.gradle.org #256

Open
hastebrot opened this Issue Oct 30, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@hastebrot
Copy link

hastebrot commented Oct 30, 2018

This will allow to use (build.gradle.kts script):

plugins {
    val kotlinVersion = "1.3.0"
    kotlin("jvm") version kotlinVersion
    kotlin("serialization") version kotlinVersion
}

instead of

buildscript {
    val kotlinVersion = "1.3.0"

    repositories {
        jcenter()
    }

    dependencies {
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
        classpath("org.jetbrains.kotlin:kotlin-serialization:$kotlinVersion")
    }
}

apply {
    plugin("kotlin")
    plugin("kotlinx-serialization")
}

For Kotlin 1.3.0 there are multiple plugins already deployed to https://plugins.gradle.org/search?term=org.jetbrains.kotlin

@sandwwraith

This comment has been minimized.

Copy link
Member

sandwwraith commented Oct 30, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.