Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
circles-android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Circles
circles-android
Commits
a3b22cc2
Commit
a3b22cc2
authored
1 year ago
by
Taras
Browse files
Options
Downloads
Patches
Plain Diff
Fix auth publisher script
parent
5f9df7a5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
auth/build.gradle
+32
-32
32 additions, 32 deletions
auth/build.gradle
with
32 additions
and
32 deletions
auth/build.gradle
+
32
−
32
View file @
a3b22cc2
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment