https://kotlinlang.org logo
j

JoakimForslund

11/20/2019, 3:18 PM
Looking at the documentation, it seems I can declare a maven publish setup such as this:
Copy code
kotlin {
    targets {
        android {
            publishLibraryVariants("release", "debug")
            mavenPublication {
                repositories {
                    maven {
                        credentials {
                            username = "boop"
                            password = "baaap"
                        }
                        url = uri("<https://scoobididooo.appspot.com/>")
                    }
                }

                artifactId = "company-android"
                groupId = "com.company"
                version = BuildAndPublish.version
            }
        }
    }
}
But I can only see
PublishAndroidReleasePublicationToMavenLocal
and no remote. How would I add that?