Answers for "kotlin no args constructor"

0

kotlin no args constructor

Using in Gradle:

buildscript {
    dependencies {
        classpath "org.jetbrains.kotlin:kotlin-noarg:$kotlin_version"
    }
}

apply plugin: "kotlin-noarg"

Or using the Gradle plugins DSL:

plugins {
  id "org.jetbrains.kotlin.plugin.noarg" version "1.4.10"
}


noArg {
    annotation("com.my.Annotation")
}
Posted by: Guest on October-01-2020

Browse Popular Code Answers by Language