diff --git a/auth/build.gradle b/auth/build.gradle index 8b21c81df2ecc08423429adbe6184a71e4592ea5..5ada1a5376e1a3a66ad8075b39470f1115742a8e 100644 --- a/auth/build.gradle +++ b/auth/build.gradle @@ -92,35 +92,35 @@ kapt { correctErrorTypes = true } -//def groupIdString = "org.futo.circles" -//def artifactIdString = "auth" -// -//afterEvaluate { -// Properties properties = new Properties() -// if (rootProject.file("local.properties").exists()) { -// properties.load(rootProject.file("local.properties").newDataInputStream()) -// } -// publishing { -// publications { -// release(MavenPublication) { -// from components.release -// groupId groupIdString -// artifactId artifactIdString -// version rootProject.ext.modules_version -// } -// } -// repositories { -// maven { -// url "https://gitlab.futo.org/api/v4/projects/$rootProject.ext.modules_gitlab_projectId/packages/maven" -// name "GitLab" -// credentials(HttpHeaderCredentials) { -// name = "Private-Token" -// value = properties.getProperty("PUBLISH_TOKEN") -// } -// authentication { -// header(HttpHeaderAuthentication) -// } -// } -// } -// } -//} \ No newline at end of file +def groupIdString = "org.futo.circles" +def artifactIdString = "auth-gplay" + +afterEvaluate { + Properties properties = new Properties() + if (rootProject.file("local.properties").exists()) { + properties.load(rootProject.file("local.properties").newDataInputStream()) + } + publishing { + publications { + release(MavenPublication) { + from components.gplayRelease + groupId groupIdString + artifactId artifactIdString + version rootProject.ext.modules_version + } + } + repositories { + maven { + url "https://gitlab.futo.org/api/v4/projects/$rootProject.ext.modules_gitlab_projectId/packages/maven" + name "GitLab" + credentials(HttpHeaderCredentials) { + name = "Private-Token" + value = properties.getProperty("PUBLISH_TOKEN") + } + authentication { + header(HttpHeaderAuthentication) + } + } + } + } +} \ No newline at end of file