Releases: floscher/gradle-josm-plugin
Release 0.8.2
This release fixes an issue with the MANIFEST.MF file of JOSM plugins.
When that file is not the first or second file entry in a *.jar file, then JOSM won't recognize the plugin.
The issue was reported as #15 and is now fixed.
Otherwise this release is basically the same as the previous release https://gitlab.com/JOSM/gradle-josm-plugin/-/releases/v0.8.1 .
When updating to this version, make sure to update to a Gradle version >= 7.1 (it was tested with Gradle versions between 7.1.1 and 7.4.2).
For a full list of changes, see https://gitlab.com/JOSM/gradle-josm-plugin/-/compare/v0.8.1...v0.8.2
Release 0.8.1
Important: This version contains a bug that prevents JOSM from loading your plugins. Please do not use this version to release your JOSM plugin, update to version 0.8.2 instead.
- fixes project name in generated *.pot file // 1675eaf
- several improvements to the tasks creating the distribution *.jar file // 53fec10 ac94d5a c740ca3
- improve sorting of translatable strings // 42b56ed
- fix warnings of Gradle 7 about certain tasks, see https://gitlab.com/JOSM/gradle-josm-plugin/-/issues/18 // 99c8bc1
- make the MANIFEST.MF file always valid UTF-8, see gradle/gradle#5225 // 881551a 8e2c796
- fix bug when modifying classpaths in the manifest, see #13 // eeb263e 4af86c4
- better documentation for the
localDist
task, see https://gitlab.com/JOSM/gradle-josm-plugin/-/merge_requests/10 // 6a4a205 197e995 - add documentation about versioning the plugin // dda1246
- add translatable string for translator credits to generated *.pot file // 9994f46
- small fixes to translation file processing // a0def29 04c0e5d
When updating to this version, make sure to update to a Gradle version >= 7.1 (it was tested with Gradle versions between 7.1.1 and 7.4.2).
For a full changelog, see https://gitlab.com/JOSM/gradle-josm-plugin/-/compare/v0.8.0...v0.8.1
Release 0.8.0
- Update to Gradle 7 (see https://gitlab.com/JOSM/gradle-josm-plugin/-/merge_requests/8) // 8beb3a6..2dfe304
- JOSM plugins can now also depend on external JOSM plugins (see https://gitlab.com/JOSM/gradle-josm-plugin/-/issues/1 and https://gitlab.com/JOSM/gradle-josm-plugin/-/merge_requests/9) // 39f8aa3
- major extension of the i18n file processing, is now done natively by the plugin itself instead of
gettext
command line tools (also outputs nice progress bars) // f3f9063..b979b79 810ac6c 8beb3a6..9c3d7f6 - the source files of JOSM are now available via gradle for easier debugging in IDEs (see https://gitlab.com/JOSM/gradle-josm-plugin/-/issues/10) // 8a732f7
- the plugin is now also published to MavenCentral (see https://gitlab.com/JOSM/gradle-josm-plugin/-/issues/15)
- some smaller fixes, see https://gitlab.com/JOSM/gradle-josm-plugin/-/compare/v0.7.1...v0.8.0 for the full changelog
When updating to this version, make sure to update to a Gradle version >= 7.1 (it was tested with Gradle versions between 7.1.1 and 7.3.3).
Release 0.7.1
- simplify task for generating *.pot file (no longer needs helper task
GenerateFileList
) // 3311c76 - update URLs of JOSM SVN // a18f00b
- split the project into four separate modules (was previously just different source sets), the plugin is now also published as multiple artifacts // 374d31d
- the :i18n module is published as both a Java library and also a Javascript library that could be used in the web browser // dddeeca
- add native support for *.po file encoding and decoding (without needing
gettext
installed, available to both Java and Javascript) // d368c88
When updating to this version, make sure to update to a Gradle version >= 6.0 (it was tested with Gradle versions between 6.0 and 6.7).
Release 0.5.3
- add tasks for publishing a JOSM plugin to GitHub releases (implemented by @Gubaer, see #6) // 543d227...d4f35d9
- add the GitLab Maven repository to the repositories provided by default // 69b3597
- make sure this project builds on Java 11 and 12 // cb87ac8
- starting with this release the gradle-josm-plugin is published to https://gitlab.com/floscher/gradle-josm-plugin/-/packages (additionally to the Gradle Plugin Portal) // 4e00ee7
Release 0.5.2
Release 0.5.1
- move the remaining Java code to Kotlin // 7fa932a 95c9184
- when determining version of JOSM plugin, fall back to SVN revision when git version is not available // 90edc05
- improve GitLab CI build // ed9ac1f d09072e a1442b3
- deprecate JosmPluginExtension.forProject(Project) // a52fa25
- log code coverage to console (also available for JOSM plugins to use) // 04efc1b f2e2956
- log task duration and skipped tasks by default // 4987399
There are now some new log messages that are shown by default. If you want to disable them, add the following to the build script:
josm {
logJacocoCoverage = false
logSkippedTasks = false
logTaskDuration = false
}
Release 0.5.0
- remove
minJosmVersion
source set // 3296244 - add tasks
compileJava_minJosm
,compileJava_latestJosm
andcompileJava_testedJosm
to compile against different JOSM versions // 3296244 - let
transifexDownload
also download languages that are not already present locally // c3e7fdc - fix problem of non-persistent
preferences.xml
between multiple./gradlew runJosm
invocations, when no default preferences file is present // 0e356ad - remove deprecated method
getGithubPathTransformer()
, usegetPathTransformer()
instead // 75ff5c7 - don't set project version at all when git-describe can't determine it // a5f7307
- require Gradle 4.8, since internally the gradle-josm-plugin now uses task constructors with arguments // ed8968a 87fc04e
Release 0.4.8
- fix small bug that returned wrong SHA1 hash for
GitDescriber.commitHash()
// 9a0ebe5
Release 0.4.7
- #movingtogitlab, the main home of the project is now https://gitlab.com/floscher/gradle-josm-plugin/ , a mirror of the repo will remain on GitHub for the time being // b435620
- the method getPathTransformer(), which creates meaningful paths in *.pot files supports now other git-hosters than GitHub too // 9098c1f
- new class
GitDescriber
for easy access to the commit hash or thegit describe
version number of a git repo (via JGit). The version number of your JOSM plugin will be by default the output ofGitDescriber(projectDir).describe()
(can be overriden) // 2993035