-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See #24091: Drop gradle from JOSM maintained plugins
Signed-off-by: Taylor Smock <[email protected]>
- Loading branch information
Showing
10 changed files
with
134 additions
and
377 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Java CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- $default-branch | ||
- $protected-branches | ||
pull_request: | ||
branches: | ||
- master | ||
- $default-branch | ||
workflow_dispatch: | ||
|
||
permissions: | ||
id-token: write | ||
attestations: write | ||
contents: write | ||
packages: write | ||
|
||
jobs: | ||
check-release-needed: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
release_needed: ${{ steps.create_release_needed.outputs.release_needed }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: ${{ (github.repository == 'JOSM/indoorhelper' && github.ref_type == 'branch' && github.ref_name == 'master' && github.event_name != 'schedule' && github.event_name != 'pull_request') && '0' || '1' }} | ||
|
||
- name: Set release needed | ||
id: create_release_needed | ||
run: | | ||
last_tag=$(git describe --tags --abbrev=0 --always) | ||
release_needed="false" | ||
for file in $(git diff ${last_tag}..HEAD --name-only); do | ||
if [[ $file = "src/main"* ]]; then | ||
release_needed="true" | ||
break | ||
fi | ||
done | ||
echo "release_needed=$release_needed" >> $GITHUB_OUTPUT | ||
call-workflow: | ||
needs: check-release-needed | ||
strategy: | ||
matrix: | ||
josm-revision: ["", "r19044"] | ||
uses: JOSM/JOSMPluginAction/.github/workflows/ant.yml@v3 | ||
with: | ||
josm-revision: ${{ matrix.josm-revision }} | ||
java-version: 11 | ||
perform-revision-tagging: ${{ matrix.josm-revision == 'r19044' && needs.check-release-needed.outputs.release_needed == 'true' }} | ||
secrets: inherit | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,15 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<project name="indoorhelper" default="dist" basedir="."> | ||
<!-- edit the properties of this plugin in the file `gradle.properties` --> | ||
<property file="${basedir}/gradle.properties"/> | ||
|
||
<property name="josm" location="../../core/dist/josm-custom.jar"/> | ||
<property name="plugin.dist.dir" value="../../dist"/> | ||
|
||
<!-- ** include targets that all plugins have in common ** --> | ||
<import file="../build-common.xml"/> | ||
|
||
<target name="pre-compile" depends="fetch_dependencies"> | ||
<!-- include fetch_dependencies task --> | ||
</target> | ||
<project name="indoorhelper" default="dist" basedir="."> | ||
<!-- enter the *lowest* JOSM version this plugin is currently compatible with --> | ||
<property name="plugin.main.version" value="19044"/> | ||
<!-- Configure these properties (replace "..." accordingly). | ||
See https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins | ||
--> | ||
<property name="plugin.author" value="Erik Gruschka, Rebecca Schmidt"/> | ||
<property name="plugin.class" value="org.openstreetmap.josm.plugins.indoorhelper.IndoorHelperPlugin"/> | ||
<property name="plugin.description" value="Gives assistance for the mapping process of indoor OSM building data. Includes a validator and a mappaint style for indoor-data."/> | ||
<property name="plugin.icon" value="images/dialogs/indoorhelper.png"/> | ||
<property name="plugin.link" value="https://wiki.openstreetmap.org/wiki/JOSM/Plugins/indoorhelper"/> | ||
<property name="plugin.early" value="true"/> | ||
<!--<property name="plugin.requires" value="..."/>--> | ||
<property name="plugin.stage" value="50"/> | ||
<!-- edit the properties of this plugin in the file `gradle.properties` --> | ||
<property name="de_plugin.description" value="Plug-In zur Hilfe bei der Erstellung von Innenraumdaten. Beinhaltet einen Validator f黵 die erstellten Daten und einen Renderstil um diese 黚ersichtlich darzustellen."/> | ||
<!-- ** include targets that all plugins have in common ** --> | ||
<import file="../build-common.xml"/> | ||
<target name="pre-compile" depends="fetch_dependencies"> | ||
<!-- include fetch_dependencies task --> | ||
</target> | ||
</project> |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.