我正在从Gradle迁移到Gradle Kotlin DSL,并且有一个问题。
flyway {
url = System.getenv ('DB_URL')
user = System.getenv ('DB_USER')
password = System.getenv ('DB_PASSWORD')
baselineOnMigrate = true
locations = ["filesystem: resources / db / migration"]
}
在Gradle中,你会在Kotlin DSL中看起来怎样呢?