Convert to gradle-kotlin-dsl Jfrog.Artifactory config
问题 I'm trying to migrate from groovy to gradle-kotlin dsl, but I'm new to it, so I dont know how to configure Jfrog Artifactory. Please help me with converting that part of code to gradle-kotlin dsl: task sourceJar(type: Jar) { from sourceSets.main.allJava } artifactory { contextUrl = "http://10.0.0.49:8081/artifactory" publish { repository { repoKey = 'gradle-dev-local' username = artifactory_username password = artifactory_password } defaults { publications('mavenJava') publishArtifacts = true