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