-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
334cb1d
commit c849742
Showing
12 changed files
with
108 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: release | ||
|
||
on: | ||
push: | ||
tags: | ||
- '**' | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | ||
- uses: ./.github/actions/setup | ||
|
||
- run: ./gradlew publish | ||
env: | ||
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} | ||
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} | ||
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.ARTIFACT_SIGNING_PRIVATE_KEY }} | ||
|
||
- name: Extract release notes | ||
id: release_notes | ||
uses: ffurrer2/extract-release-notes@v1 | ||
|
||
- name: Create release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
body: ${{ steps.release_notes.outputs.release_notes }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: snapshot | ||
|
||
on: | ||
push: | ||
tags: | ||
- '**' | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | ||
- uses: ./.github/actions/setup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,22 @@ org.gradle.parallel=true | |
org.gradle.caching=true | ||
org.gradle.configureondemand=true | ||
org.gradle.configuration-cache=true | ||
# POM | ||
SONATYPE_HOST=DEFAULT | ||
RELEASE_SIGNING_ENABLED=true | ||
GROUP=dev.whosnickdoglio | ||
VERSION_NAME=0.1.0-SNAPSHOT | ||
POM_INCEPTION_YEAR=2023 | ||
POM_URL=https://github.com/WhosNickDoglio/dagger-rules/ | ||
POM_SCM_URL=https://github.com/WhosNickDoglio/dagger-rules/ | ||
POM_SCM_CONNECTION=scm:git:[email protected]:WhosNickDoglio/dagger-rules.git | ||
POM_SCM_DEV_CONNECTION=scm:[email protected]:WhosNickDoglio/dagger-rules.git | ||
POM_LICENCE_NAME=The MIT License | ||
POM_LICENCE_URL=https://opensource.org/license/mit/ | ||
POM_LICENCE_DIST=repo | ||
POM_DEVELOPER_ID=WhosNickDoglio | ||
POM_DEVELOPER_NAME=Nicholas Doglio | ||
POM_DEVELOPER_URL=https://github.com/WhosNickDoglio/ | ||
org.gradle.kotlin.dsl.allWarningsAsErrors=true | ||
|
||
android.useAndroidX=true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# | ||
# Copyright (C) 2024 Nicholas Doglio | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
POM_ARTIFACT_ID=dagger-rules-lint | ||
POM_NAME=Dagger Rules Lint Checks | ||
POM_DESCRIPTION=Dagger Rules Lint Checks | ||
|
||
# Kotlin adds the stdlib dep by default in 1.4.0+, but that's not really allowed in lint jars. This | ||
# disables that behavior for now | ||
kotlin.stdlib.default.dependency=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# | ||
# Copyright (C) 2024 Nicholas Doglio | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
POM_ARTIFACT_ID=dagger-rules-lint | ||
POM_NAME=Dagger Rules Lint Checks | ||
POM_DESCRIPTION=Dagger Rules Lint Checks | ||
|
||
# Kotlin adds the stdlib dep by default in 1.4.0+, but that's not really allowed in lint jars. This | ||
# disables that behavior for now | ||
kotlin.stdlib.default.dependency=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# | ||
# Copyright (C) 2024 Nicholas Doglio | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
POM_ARTIFACT_ID=hilt-lint | ||
POM_NAME=Hilt Lint rules | ||
POM_DESCRIPTION=Static Analysis checks for Hilt | ||
|
||
# Kotlin adds the stdlib dep by default in 1.4.0+, but that's not really allowed in lint jars. This | ||
# disables that behavior for now | ||
kotlin.stdlib.default.dependency=false |