Skip to content

Commit f8abf91

Browse files
committed
See #24091: Drop gradle from JOSM maintained plugins
Signed-off-by: Taylor Smock <tsmock@meta.com>
1 parent c7a61fe commit f8abf91

10 files changed

Lines changed: 134 additions & 377 deletions

File tree

.github/workflows/ant.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Java CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- $default-branch
8+
- $protected-branches
9+
pull_request:
10+
branches:
11+
- master
12+
- $default-branch
13+
workflow_dispatch:
14+
15+
permissions:
16+
id-token: write
17+
attestations: write
18+
contents: write
19+
packages: write
20+
21+
jobs:
22+
check-release-needed:
23+
runs-on: ubuntu-latest
24+
outputs:
25+
release_needed: ${{ steps.create_release_needed.outputs.release_needed }}
26+
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v4
29+
with:
30+
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' }}
31+
32+
- name: Set release needed
33+
id: create_release_needed
34+
run: |
35+
last_tag=$(git describe --tags --abbrev=0 --always)
36+
release_needed="false"
37+
for file in $(git diff ${last_tag}..HEAD --name-only); do
38+
if [[ $file = "src/main"* ]]; then
39+
release_needed="true"
40+
break
41+
fi
42+
done
43+
echo "release_needed=$release_needed" >> $GITHUB_OUTPUT
44+
45+
46+
call-workflow:
47+
needs: check-release-needed
48+
strategy:
49+
matrix:
50+
josm-revision: ["", "r19044"]
51+
uses: JOSM/JOSMPluginAction/.github/workflows/ant.yml@v3
52+
with:
53+
josm-revision: ${{ matrix.josm-revision }}
54+
java-version: 11
55+
perform-revision-tagging: ${{ matrix.josm-revision == 'r19044' && needs.check-release-needed.outputs.release_needed == 'true' }}
56+
secrets: inherit
57+

.github/workflows/gradle.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

build.gradle

Lines changed: 0 additions & 77 deletions
This file was deleted.

build.xml

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<project name="indoorhelper" default="dist" basedir=".">
3-
<!-- edit the properties of this plugin in the file `gradle.properties` -->
4-
<property file="${basedir}/gradle.properties"/>
5-
6-
<property name="josm" location="../../core/dist/josm-custom.jar"/>
7-
<property name="plugin.dist.dir" value="../../dist"/>
8-
9-
<!-- ** include targets that all plugins have in common ** -->
10-
<import file="../build-common.xml"/>
11-
12-
<target name="pre-compile" depends="fetch_dependencies">
13-
<!-- include fetch_dependencies task -->
14-
</target>
2+
<project name="indoorhelper" default="dist" basedir=".">
3+
<!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
4+
<property name="plugin.main.version" value="19044"/>
5+
<!-- Configure these properties (replace "..." accordingly).
6+
See https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
7+
-->
8+
<property name="plugin.author" value="Erik Gruschka, Rebecca Schmidt"/>
9+
<property name="plugin.class" value="org.openstreetmap.josm.plugins.indoorhelper.IndoorHelperPlugin"/>
10+
<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."/>
11+
<property name="plugin.icon" value="images/dialogs/indoorhelper.png"/>
12+
<property name="plugin.link" value="https://wiki.openstreetmap.org/wiki/JOSM/Plugins/indoorhelper"/>
13+
<property name="plugin.early" value="true"/>
14+
<!--<property name="plugin.requires" value="..."/>-->
15+
<property name="plugin.stage" value="50"/>
16+
<!-- edit the properties of this plugin in the file `gradle.properties` -->
17+
<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."/>
18+
<!-- ** include targets that all plugins have in common ** -->
19+
<import file="../build-common.xml"/>
20+
<target name="pre-compile" depends="fetch_dependencies">
21+
<!-- include fetch_dependencies task -->
22+
</target>
1523
</project>

gradle.properties

Lines changed: 0 additions & 10 deletions
This file was deleted.

gradle/wrapper/gradle-wrapper.jar

-54.3 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 0 additions & 5 deletions
This file was deleted.

gradlew

Lines changed: 0 additions & 172 deletions
This file was deleted.

0 commit comments

Comments
 (0)