Skip to content

Commit

Permalink
Finalize maven central deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
awxkee committed Apr 14, 2024
1 parent c300686 commit 646623d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
cache: gradle
- name: Set version variable
run: echo "GITHUB_REF_NAME=$GITHUB_REF_NAME" >> $GITHUB_ENV
- name: Compile to maven local
- name: Compile to Maven Central
env:
VERSION_NAME: ${{ env.GITHUB_REF_NAME }}
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.ORG_GRADLE_PROJECT_MAVENCENTRALUSERNAME }}
Expand All @@ -41,14 +41,6 @@ jobs:
- build
steps:
- uses: actions/checkout@v3
- name: Compress Sources
uses: a7ul/tar-action@v1.1.0
id: compress
with:
command: c
files: |
../jxl-coder
outPath: jxlcoder.tar.gz
- uses: ncipollo/release-action@v1
with:
bodyFile: 'CHANGELOG.md'
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,19 @@ encoder.addFrame(secondFrame, duration = 2000) // Duration in ms
val compressedBuffer: ByteArray = encoder.encode() // Do something with buffer
```

## Add Jitpack repository
# Add to project

```groovy
implementation 'io.github.awxkee:jxl-coder:2.2.0' // or any version above picker from release tags
// Glide JPEG XL plugin if you need one
implementation 'io.github.awxkee:jxl-coder-glide:2.2.0' // or any version above picker from release tags
// Coil JPEG XL plugin if you need one
implementation 'io.github.awxkee:jxl-coder-coil:2.2.0' // or any version above picker from release tags
```

### ~~Add Jitpack repository~~ Deprecated since 2.2.0, from 2.2.0 only Maven central will receive support

```groovy
repositories {
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ android.nonTransitiveRClass=true

SONATYPE_HOST=CENTRAL_PORTAL
RELEASE_SIGNING_ENABLED=true
SONATYPE_AUTOMATIC_RELEASE=true

0 comments on commit 646623d

Please sign in to comment.