Skip to content

Commit

Permalink
Update maven repo
Browse files Browse the repository at this point in the history
  • Loading branch information
IzzelAliz committed Oct 8, 2020
1 parent fe7b66a commit d9c18b6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}
```
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group 'io.izzel.arclight'
version '1.10'
version '1.11'

repositories {
mavenCentral()
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit d9c18b6

Please sign in to comment.