-
Notifications
You must be signed in to change notification settings - Fork 396
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Need more (all) of the transitive dependencies now that we no longer publish a shadow jar
- Loading branch information
1 parent
d8518c6
commit ed05511
Showing
3 changed files
with
62 additions
and
1 deletion.
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
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 |
---|---|---|
@@ -1,5 +1,35 @@ | ||
import org.gradle.api.publish.maven.MavenPublication | ||
|
||
plugins { | ||
id 'java-library' | ||
id("maven-publish") | ||
} | ||
|
||
version = System.getenv("JAR_VERSION") | ||
|
||
|
||
description = "TripleA library for low-level helper APIs, ie: syntactic sugar" | ||
|
||
dependencies { | ||
testImplementation project(":lib:test-common") | ||
} | ||
|
||
publishing { | ||
publications { | ||
maven(MavenPublication) { | ||
artifact(tasks.named(sourceSets.main.jarTaskName)) { | ||
extension 'jar' | ||
} | ||
} | ||
} | ||
repositories { | ||
maven { | ||
name = "GitHubPackages" | ||
url = "https://maven.pkg.github.com/triplea-game/triplea" | ||
credentials { | ||
username = System.getenv("GITHUB_ACTOR") | ||
password = System.getenv("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 |
---|---|---|
@@ -1,3 +1,32 @@ | ||
import org.gradle.api.publish.maven.MavenPublication | ||
|
||
plugins { | ||
id 'java-library' | ||
id("maven-publish") | ||
} | ||
|
||
version = System.getenv("JAR_VERSION") | ||
|
||
dependencies { | ||
implementation project(":lib:java-extras") | ||
} | ||
|
||
publishing { | ||
publications { | ||
maven(MavenPublication) { | ||
artifact(tasks.named(sourceSets.main.jarTaskName)) { | ||
extension 'jar' | ||
} | ||
} | ||
} | ||
repositories { | ||
maven { | ||
name = "GitHubPackages" | ||
url = "https://maven.pkg.github.com/triplea-game/triplea" | ||
credentials { | ||
username = System.getenv("GITHUB_ACTOR") | ||
password = System.getenv("GITHUB_TOKEN") | ||
} | ||
} | ||
} | ||
} |