Skip to content

Commit 4394767

Browse files
chore: build and docs for resolver changes (#2072)
* chore: build and docs for resolver changes * typo in resolver
1 parent 8c96b4b commit 4394767

63 files changed

Lines changed: 95 additions & 79 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build-test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ concurrency:
1717
jobs:
1818
check-code-style:
1919
name: Checks
20-
runs-on: ubuntu-22.04
20+
runs-on: Akka-Default
2121
steps:
2222
- name: Checkout
2323
# https://github.com/actions/checkout/releases
@@ -46,7 +46,7 @@ jobs:
4646
4747
compile-benchmarks:
4848
name: Compile Benchmarks
49-
runs-on: ubuntu-22.04
49+
runs-on: Akka-Default
5050
steps:
5151
- name: Checkout
5252
# https://github.com/actions/checkout/releases
@@ -77,7 +77,7 @@ jobs:
7777
7878
compile-and-test:
7979
name: Compile and test
80-
runs-on: ubuntu-22.04
80+
runs-on: Akka-Default
8181
strategy:
8282
fail-fast: false
8383
matrix:
@@ -110,7 +110,7 @@ jobs:
110110
111111
test-sbt:
112112
name: sbt scripted tests
113-
runs-on: ubuntu-22.04
113+
runs-on: Akka-Default
114114
strategy:
115115
fail-fast: false
116116
matrix:
@@ -150,7 +150,7 @@ jobs:
150150
151151
test-gradle:
152152
name: Gradle tests
153-
runs-on: ubuntu-22.04
153+
runs-on: Akka-Default
154154
steps:
155155
- name: Checkout
156156
# https://github.com/actions/checkout/releases
@@ -211,7 +211,7 @@ jobs:
211211

212212
test-maven:
213213
name: Maven tests
214-
runs-on: ubuntu-22.04
214+
runs-on: Akka-Default
215215
steps:
216216
- name: Checkout
217217
# https://github.com/actions/checkout/releases

.github/workflows/check-samples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions:
1717
jobs:
1818
check-samples:
1919
name: Check Sample Projects
20-
runs-on: ubuntu-22.04
20+
runs-on: Akka-Default
2121
steps:
2222
- name: Checkout
2323
# https://github.com/actions/checkout/releases

.github/workflows/fossa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111
jobs:
1212
fossa:
1313
name: Fossa
14-
runs-on: ubuntu-22.04
14+
runs-on: Akka-Default
1515
if: github.event.repository.fork == false
1616
steps:
1717
- name: Checkout

.github/workflows/link-validator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111

1212
jobs:
1313
validate-links:
14-
runs-on: ubuntu-22.04
14+
runs-on: Akka-Default
1515
steps:
1616
- name: Checkout
1717
# https://github.com/actions/checkout/releases

.github/workflows/native-image-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111
jobs:
1212
native-image-tests:
1313
name: Run Native Image Tests
14-
runs-on: ubuntu-22.04
14+
runs-on: Akka-Default
1515
steps:
1616
- name: Checkout
1717
# https://github.com/actions/checkout/releases

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111
jobs:
1212
test:
1313
name: Run tests
14-
runs-on: ubuntu-22.04
14+
runs-on: Akka-Default
1515
if: github.event.repository.fork == false
1616
strategy:
1717
fail-fast: false

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212
jobs:
1313
sbt:
1414
name: sbt publish
15-
runs-on: ubuntu-22.04
15+
runs-on: Akka-Default
1616
if: github.event.repository.fork == false
1717
steps:
1818
- name: Checkout
@@ -47,7 +47,7 @@ jobs:
4747

4848
gradle-plugin:
4949
name: Release gradle plugin
50-
runs-on: ubuntu-22.04
50+
runs-on: Akka-Default
5151
# only on tagged release, not snapshot
5252
if: github.event.repository.fork == false && startsWith(github.ref, 'refs/tags/')
5353
steps:
@@ -71,7 +71,7 @@ jobs:
7171

7272
documentation:
7373
name: Documentation
74-
runs-on: ubuntu-22.04
74+
runs-on: Akka-Default
7575
if: github.event.repository.fork == false
7676
steps:
7777
- name: Checkout

benchmark-java/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ scalaVersion := "2.13.15"
22

33
enablePlugins(AkkaGrpcPlugin)
44

5-
resolvers += "Akka library repository".at("https://repo.akka.io/maven")
5+
resolvers += "Akka library repository".at("https://repo.akka.io/maven/github_actions")
66

77
run / javaOptions ++= List("-Xms1g", "-Xmx1g", "-XX:+PrintGCDetails", "-XX:+PrintGCTimeStamps")
88

benchmark-java/project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resolvers += "Akka library repository".at("https://repo.akka.io/maven")
1+
resolvers += "Akka library repository".at("https://repo.akka.io/maven/github_actions")
22
lazy val plugins = project in file(".") dependsOn ProjectRef(file("../../"), "sbt-akka-grpc")
33
// Use this instead of above when importing to IDEA, after publishLocal and replacing the version here
44
//addSbtPlugin("com.lightbend.akka.grpc" % "sbt-akka-grpc" % "0.1+32-fd597fcb+20180618-1248")

docs/src/main/paradox/buildtools/gradle.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,20 @@ By default both client and server are generated and Java or Scala is autodetecte
1313

1414
### Installation
1515

16+
@@@note
17+
The Akka dependencies are available from Akka’s secure library repository. To access them you need to use a secure, tokenized URL as specified at https://account.akka.io/token.
18+
@@@
19+
1620
To add the Akka gRPC gradle plugin to a project:
1721

22+
`build.gradle`
1823
: @@@vars
1924
```gradle
2025
buildscript {
2126
repositories {
2227
gradlePluginPortal()
2328
maven {
24-
url "https://repo.akka.io/maven"
29+
url "https://repo.akka.io/<your token>/secure"
2530
}
2631
}
2732
}
@@ -33,7 +38,7 @@ plugins {
3338
repositories {
3439
mavenCentral()
3540
maven {
36-
url "https://repo.akka.io/maven"
41+
url "https://repo.akka.io/<your token>/secure"
3742
}
3843
}
3944
```

0 commit comments

Comments
 (0)