Added public repository.
@@ -37,6 +37,8 @@ aem {
}
}
+val apmRepositoryUsername : String? by extra
+val apmRepositoryPassword : String? by extra
publishing {
publications {
create<MavenPublication>("apm") {
@@ -47,6 +49,19 @@ publishing {
}
}
}
+ repositories {
+ maven {
+ name = "OSSSonatypeOrg"
+ url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
+ credentials {
+ username = apmRepositoryUsername
+ password = apmRepositoryPassword
+ }
+ authentication {
+ create<BasicAuthentication>("basic")
+ }
+ }
+ }
}
tasks.rat {
