Created
February 18, 2020 21:05
-
-
Save wongk/e6172d14323655b657405080491d0159 to your computer and use it in GitHub Desktop.
Blog - KMP publishing - artifactory config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
artifactory { | |
setContextUrl("https://host.example.com/artifactory/") | |
publish(delegateClosureOf<PublisherConfig> { | |
repository(delegateClosureOf<DoubleDelegateWrapper> { | |
setProperty("repoKey", "example-repo") | |
setProperty("username", "aUsername") | |
setProperty("password", "aPassword") | |
setProperty("maven", true) | |
}) | |
defaults(delegateClosureOf<groovy.lang.GroovyObject> { | |
invokeMethod("publications", arrayOf( | |
"androidDebug", "androidRelease", "ios", "iosArm64", "kotlinMultiplatform", "metadata" | |
)) | |
}) | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment