Skip to content

The apply plugin syntax in the Gradle file seems to be deprecated #51

@devos50

Description

@devos50

We are using the apply plugin syntax in the Gradle build files:

apply plugin: "application"
apply plugin: "kotlin"
apply plugin: "kotlinx-serialization"

This syntax, however, is not recommended anymore, also see here. Instead, we could use the plugins directive like:

plugins {
    id 'org.jetbrains.kotlin.<...>' version '1.5.21'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions