Commit ed05511 1 parent d8518c6 commit ed05511 Copy full SHA for ed05511
File tree 3 files changed +62
-1
lines changed
3 files changed +62
-1
lines changed Original file line number Diff line number Diff line change 8
8
- ' .github/workflows/upload-http-client-jars.yml'
9
9
- ' game-app/domain-data/**'
10
10
- ' http-clients/**'
11
+ - ' lib/java-extras/**'
12
+ - ' lib/websocket-client/**'
11
13
env :
12
14
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
13
15
jobs :
30
32
BUILD_VERSION=$(game-app/run/.build/get-build-version)
31
33
echo "JAR_VERSION=$BUILD_VERSION" | tee -a $GITHUB_ENV
32
34
- name : Publish lobby client JAR
33
- run : ./gradlew :http-clients:lobby-client:publish :game-app:domain-data:publish
35
+ run : ./gradlew :http-clients:lobby-client:publish :game-app:domain-data:publish :lib:java-extras:publish :lib:websocket-client:publish
34
36
env :
35
37
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ import org.gradle.api.publish.maven.MavenPublication
2
+
3
+ plugins {
4
+ id ' java-library'
5
+ id(" maven-publish" )
6
+ }
7
+
8
+ version = System . getenv(" JAR_VERSION" )
9
+
10
+
1
11
description = " TripleA library for low-level helper APIs, ie: syntactic sugar"
2
12
3
13
dependencies {
4
14
testImplementation project(" :lib:test-common" )
5
15
}
16
+
17
+ publishing {
18
+ publications {
19
+ maven(MavenPublication ) {
20
+ artifact(tasks. named(sourceSets. main. jarTaskName)) {
21
+ extension ' jar'
22
+ }
23
+ }
24
+ }
25
+ repositories {
26
+ maven {
27
+ name = " GitHubPackages"
28
+ url = " https://maven.pkg.github.com/triplea-game/triplea"
29
+ credentials {
30
+ username = System . getenv(" GITHUB_ACTOR" )
31
+ password = System . getenv(" GITHUB_TOKEN" )
32
+ }
33
+ }
34
+ }
35
+ }
Original file line number Diff line number Diff line change
1
+ import org.gradle.api.publish.maven.MavenPublication
2
+
3
+ plugins {
4
+ id ' java-library'
5
+ id(" maven-publish" )
6
+ }
7
+
8
+ version = System . getenv(" JAR_VERSION" )
9
+
1
10
dependencies {
2
11
implementation project(" :lib:java-extras" )
3
12
}
13
+
14
+ publishing {
15
+ publications {
16
+ maven(MavenPublication ) {
17
+ artifact(tasks. named(sourceSets. main. jarTaskName)) {
18
+ extension ' jar'
19
+ }
20
+ }
21
+ }
22
+ repositories {
23
+ maven {
24
+ name = " GitHubPackages"
25
+ url = " https://maven.pkg.github.com/triplea-game/triplea"
26
+ credentials {
27
+ username = System . getenv(" GITHUB_ACTOR" )
28
+ password = System . getenv(" GITHUB_TOKEN" )
29
+ }
30
+ }
31
+ }
32
+ }
You can’t perform that action at this time.
0 commit comments