``` plugins { id("java-library") kotlin("j...
# gradle
b
Copy code
plugins {
    id("java-library")
    kotlin("jvm") version "1.3.21"
    id("nebula.info-dependencies") version ("5.0.0")
    id("org.owasp.dependencycheck") version ("4.0.2")
    id("com.gorylenko.gradle-git-properties") version ("2.0.0")
    id("io.freefair.lombok") version ("3.2.0")
}

configure<JavaPluginConvention> { // config built-in works fine
    sourceCompatibility = JavaVersion.VERSION_11
    targetCompatibility = JavaVersion.VERSION_11
}

configure<GitPropertiesPluginExtension> { // FAIL Unresolved reference: GitPropertiesPluginExtension
   dateFormat = "yyyy-MM-dd'T'HH:mm:ssZ" 
    dateFormatTimeZone = "UTC"
}
m
havent tried precompiled scripts yet, no im not sure. at least with 5.3, you should be able to do
java {
instead of
configure<JavaPluginConvention>
dont know if external build dependencies are supported
b
yeah, i’m using 5.3 and that does not work either
i have avoid the type-safe accessors completley
relatedly, this claims it works. it doesn’t. https://github.com/gradle/kotlin-dsl/issues/673