Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
java-version: '21'
cache: maven

- name: Install pinned TLibs in Maven
uses: TF-Minecraft/TLibs/.github/actions/setup@804728d2c0d62d64e3194bcdeffc3708acfbc514

- name: Set dated development version
id: dev
shell: bash
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:
distribution: temurin
java-version: ${{ inputs.java-version }}

- name: Install pinned TLibs in Maven
uses: TF-Minecraft/TLibs/.github/actions/setup@804728d2c0d62d64e3194bcdeffc3708acfbc514

- name: Validate release version
env:
TAG: ${{ github.ref_name }}
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ target/

# Built plugin jars live on the GitHub releases page, not in the repo
*.jar
!libs/*.jar
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,17 @@
Technical documentation is maintained in [TF-Minecraft/docs](https://github.com/TF-Minecraft/docs/tree/main/projects/geiger-counters).

Use that project index for setup, configuration, architecture, integration and testing guides. This repository contains the source and project-specific assets.

## TLibs build dependency

TLibs is a versioned Maven `provided` dependency. From this repository, prepare
it once with the shared installer, then build as usual:

```sh
python3 ../tlibs/tools/install-dependency.py --pom pom.xml
mvn clean verify
```

See [TLibs dependency setup](https://github.com/TF-Minecraft/TLibs/blob/804728d2c0d62d64e3194bcdeffc3708acfbc514/DEPENDENCIES.md)
for private-source access, offline installation and the pinned binary versions.
Other declared build dependencies still need their usual preparation.
Binary file removed libs/TLibs.jar
Binary file not shown.
14 changes: 9 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<url>tfminecraft.net</url>

<properties>
<tlibs.version>1.0-legacy-d8062cdca816</tlibs.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
Expand Down Expand Up @@ -59,11 +60,14 @@

<!-- TLibs -->
<dependency>
<groupId>local</groupId>
<artifactId>TLibs</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/TLibs.jar</systemPath>
<groupId>me.plugins</groupId>
<artifactId>tlibs</artifactId>
<version>${tlibs.version}</version>
<scope>provided</scope>
<exclusions>
<!-- The server supplies TLibs and its integrations. -->
<exclusion><groupId>*</groupId><artifactId>*</artifactId></exclusion>
</exclusions>
</dependency>
</dependencies>

Expand Down