fix publish URL
This commit is contained in:
parent
f933a8feca
commit
16bafec65a
1 changed files with 6 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
From 45feb51252f1f98a6b3ec1ada840598e65622814 Mon Sep 17 00:00:00 2001
|
From db918ccd37635338b9ba9605493732d65e44237f Mon Sep 17 00:00:00 2001
|
||||||
From: finn <finn@janky.solutions>
|
From: finn <finn@janky.solutions>
|
||||||
Date: Thu, 18 Nov 2021 18:55:31 -0800
|
Date: Thu, 18 Nov 2021 18:55:31 -0800
|
||||||
Subject: [PATCH] update gradle files
|
Subject: [PATCH] update gradle files
|
||||||
|
@ -6,9 +6,9 @@ Subject: [PATCH] update gradle files
|
||||||
---
|
---
|
||||||
build.gradle | 10 +---------
|
build.gradle | 10 +---------
|
||||||
dependencies.gradle | 1 -
|
dependencies.gradle | 1 -
|
||||||
service/build.gradle | 20 +++++++++-----------
|
service/build.gradle | 21 ++++++++++-----------
|
||||||
settings.gradle | 2 +-
|
settings.gradle | 2 +-
|
||||||
4 files changed, 11 insertions(+), 22 deletions(-)
|
4 files changed, 12 insertions(+), 22 deletions(-)
|
||||||
|
|
||||||
diff --git a/build.gradle b/build.gradle
|
diff --git a/build.gradle b/build.gradle
|
||||||
index 5a4cded..a1d8d70 100644
|
index 5a4cded..a1d8d70 100644
|
||||||
|
@ -50,7 +50,7 @@ index c1288ca..f32a970 100644
|
||||||
// Third Party
|
// Third Party
|
||||||
alias('jackson-core').to('com.fasterxml.jackson.core:jackson-databind:2.9.9.2')
|
alias('jackson-core').to('com.fasterxml.jackson.core:jackson-databind:2.9.9.2')
|
||||||
diff --git a/service/build.gradle b/service/build.gradle
|
diff --git a/service/build.gradle b/service/build.gradle
|
||||||
index 98377c1..cd7e807 100644
|
index 98377c1..1fadd35 100644
|
||||||
--- a/service/build.gradle
|
--- a/service/build.gradle
|
||||||
+++ b/service/build.gradle
|
+++ b/service/build.gradle
|
||||||
@@ -23,6 +23,7 @@ compileJava {
|
@@ -23,6 +23,7 @@ compileJava {
|
||||||
|
@ -72,7 +72,7 @@ index 98377c1..cd7e807 100644
|
||||||
from components.java
|
from components.java
|
||||||
|
|
||||||
pom {
|
pom {
|
||||||
@@ -145,16 +146,13 @@ publishing {
|
@@ -145,16 +146,14 @@ publishing {
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
|
@ -80,6 +80,7 @@ index 98377c1..cd7e807 100644
|
||||||
- credentials {
|
- credentials {
|
||||||
- username getRepositoryUsername()
|
- username getRepositoryUsername()
|
||||||
- password getRepositoryPassword()
|
- password getRepositoryPassword()
|
||||||
|
+ url System.getenv("CI_API_V4_URL") + "/projects/" + System.getenv("CI_PROJECT_ID") + "/packages/maven"
|
||||||
+ credentials(HttpHeaderCredentials) {
|
+ credentials(HttpHeaderCredentials) {
|
||||||
+ name = 'Job-Token'
|
+ name = 'Job-Token'
|
||||||
+ value = System.getenv("CI_JOB_TOKEN")
|
+ value = System.getenv("CI_JOB_TOKEN")
|
||||||
|
|
Loading…
Reference in a new issue