Tribler / kotlin-ipv8

P2P communication library for Android
59 stars 27 forks source link

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

Open devos50 opened 3 years ago

devos50 commented 3 years ago

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'
}