From d9c18b66ccdcee94dd66c7272fbd3e60162c5e76 Mon Sep 17 00:00:00 2001 From: IzzelAliz Date: Thu, 8 Oct 2020 20:31:10 +0800 Subject: [PATCH] Update maven repo --- .github/workflows/gradle-publish.yml | 6 +++--- README.md | 4 ++-- build.gradle | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index 9185a9c..9b466c3 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -26,8 +26,8 @@ jobs: # The USERNAME and TOKEN need to correspond to the credentials environment variables used in # the publishing section of your build.gradle - - name: Publish to GitHub Packages + - name: Publish to Maven run: gradle publish env: - USERNAME: ${{ github.actor }} - TOKEN: ${{ secrets.AGP_PAT }} + USERNAME: ${{ secrets.AGP_CI_PUBLISH_USER }} + TOKEN: ${{ secrets.AGP_CI_PUBLISH_TOKEN }} diff --git a/README.md b/README.md index 2799559..0fcb4fa 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,10 @@ Gradle plugin designed for Arclight development. ```groovy buildscript { repositories { - maven { url = 'https://jitpack.io' } + maven { url = 'https://maven.izzel.io/releases' } } dependencies { - classpath 'com.github.ArclightTeam:arclight-gradle-plugin:1.0' + classpath 'io.izzel.arclight:arclight-gradle-plugin:1.0' } } ``` diff --git a/build.gradle b/build.gradle index abe2957..e884196 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { } group 'io.izzel.arclight' -version '1.10' +version '1.11' repositories { mavenCentral() @@ -33,8 +33,8 @@ jar { publishing { repositories { maven { - name = "GitHubPackages" - url = uri("https://maven.pkg.github.com/arclightteam/arclight-gradle-plugin") + name = "IzzelAliz" + url = uri("https://maven.izzel.io/releases") credentials { username = project.findProperty("gpr.user") ?: System.getenv("USERNAME") password = project.findProperty("gpr.key") ?: System.getenv("TOKEN")