I am migrating my groovy syntac to kotlin dsl and struggling while building the buildRpm() task provided by nebula plugin.
Currntly I have in my builod.gradle.kts
plugins {
id("nebula.ospackage") version "8.3.0"
}
apply(plugin = "nebula.rpm")
I am creating my task with the following:
val buildRpm by creating(Rpm::class) {
println("building")
}
and when running ./gradlew buildRpm
I get Unresolved reference: Rpm
How can I create Rpm with kotlin dsl then ?