Skip to content

Commit 2f3e3b3

Browse files
authored
switch to Maven Central (#55)
1 parent 5832d99 commit 2f3e3b3

File tree

6 files changed

+9
-40
lines changed

6 files changed

+9
-40
lines changed

.github/workflows/publish-release.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@ jobs:
1414
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #v4.1.7
1515
- uses: gradle/actions/setup-gradle@dbbdc275be76ac10734476cc723d82dfe7ec6eda #v3.4.2
1616
- run: |
17-
./gradlew librarianPublishToMavenCentral
18-
gh release create $GITHUB_REF_NAME --title $GITHUB_REF_NAME --verify-tag --notes-from-tag
17+
LIBRARIAN_RELEASE=true ./gradlew librarianPublishToMavenCentral
1918
env:
20-
LIBRARIAN_SONATYPE_USERNAME: ${{ secrets.LIBRARIAN_SONATYPE_USERNAME }}
21-
LIBRARIAN_SONATYPE_PASSWORD: ${{ secrets.LIBRARIAN_SONATYPE_PASSWORD }}
22-
LIBRARIAN_SIGNING_PRIVATE_KEY: ${{ secrets.LIBRARIAN_SIGNING_PRIVATE_KEY }}
23-
LIBRARIAN_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.LIBRARIAN_SIGNING_PRIVATE_KEY_PASSWORD }}
24-
GH_TOKEN: ${{ github.token }}
19+
LIBRARIAN_SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
20+
LIBRARIAN_SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
21+
LIBRARIAN_SIGNING_PRIVATE_KEY: ${{ secrets.SONATYPE_GPG_KEY }}
22+
LIBRARIAN_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.SONATYPE_GPG_KEY_PASSWORD }}

.github/workflows/publish-snapshot.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ jobs:
1414
./gradlew librarianPublishToSnapshots
1515
LIBRARIAN_VERSION_SHA1=$GITHUB_SHA ./gradlew librarianPublishToGcs
1616
env:
17-
LIBRARIAN_SONATYPE_USERNAME: ${{ secrets.LIBRARIAN_SONATYPE_USERNAME }}
18-
LIBRARIAN_SONATYPE_PASSWORD: ${{ secrets.LIBRARIAN_SONATYPE_PASSWORD }}
19-
LIBRARIAN_SIGNING_PRIVATE_KEY: ${{ secrets.LIBRARIAN_SIGNING_PRIVATE_KEY }}
20-
LIBRARIAN_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.LIBRARIAN_SIGNING_PRIVATE_KEY_PASSWORD }}
17+
LIBRARIAN_SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
18+
LIBRARIAN_SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
2119
LIBRARIAN_GOOGLE_SERVICES_JSON: ${{ secrets.LIBRARIAN_GOOGLE_SERVICES_JSON }}

.github/workflows/tag-and-bump.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
[![Maven Central](https://img.shields.io/maven-central/v/com.apollographql.execution/apollo-execution-runtime?style=flat-square)](https://central.sonatype.com/namespace/com.apollographql.execution)
1111
[![OSS Snapshots](https://img.shields.io/nexus/s/com.apollographql.execution/apollo-execution-runtime?server=https%3A%2F%2Fs01.oss.sonatype.org&label=oss-snapshots&style=flat-square)](https://s01.oss.sonatype.org/content/repositories/snapshots/com/apollographql/execution/)
12-
12+
[![Maven Snapshots](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fcentral.sonatype.com%2Frepository%2Fmaven-snapshots%2Fcom%2Fapollographql%2Fexecution%2Fapollo-execution-runtime%2Fmaven-metadata.xml&style=flat-square&label=snapshots&color=%2315252D&strategy=latestProperty)](https://central.sonatype.com/repository/maven-snapshots/com/apollographql/execution/)
1313
</div>
1414

1515
## 🚀 Apollo Execution

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ http4k-core = { module = "org.http4k:http4k-core" }
3636
http4k-realtime-core = { module = "org.http4k:http4k-realtime-core" }
3737
http4k-server-undertow = { module = "org.http4k:http4k-server-undertow" }
3838
http4k-server-netty = { module = "org.http4k:http4k-server-netty" }
39-
librarian-gradle-plugin = "com.gradleup.librarian:librarian-gradle-plugin:0.0.8-SNAPSHOT-cd822254de75426f8f047a50bae467da872cc912"
39+
librarian-gradle-plugin = "com.gradleup.librarian:librarian-gradle-plugin:0.0.11-SNAPSHOT-ba8b5ecfcbda070ecc3b5b95056ee359199552b4"
4040
apollo-execution-runtime = { module = "com.apollographql.execution:apollo-execution-runtime" }
4141
apollo-execution-subgraph = { module = "com.apollographql.execution:apollo-execution-subgraph" }
4242
spring-webflux = "org.springframework:spring-webflux:6.1.10"

librarian.root.properties

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
java.compatibility=17
22
kotlin.compatibility=2.0.0
33

4-
sonatype.backend=S01
5-
64
pom.groupId=com.apollographql.execution
75
pom.version=0.1.1-SNAPSHOT
86
pom.description=GraphQL execution algorithms

0 commit comments

Comments
 (0)