Skip to content
Tags give the ability to mark specific points in history as being important
  • v0.8.2 protected Release: Release 0.8.2
    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 https://github.com/floscher/gradle-josm-plugin/pull/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
    
  • v0.8.1 protected Release: Release 0.8.1
    Release 0.8.1
    
    * fixes project name in generated *.pot file // 1675eaf3318fcf57ba96553da3f6572bac72c036
    * several improvements to the tasks creating the distribution *.jar file // 53fec105e95a7a9fc964c868594e4bdb228dbcc3 ac94d5a955950c95bd7287fa3379cd94be997576 c740ca300833823934d67e2c813ddefb067672e2
    * improve sorting of translatable strings // 42b56ed4b8a80f3f1dcec724694d1828fc186dc1
    * fix warnings of Gradle 7 about certain tasks, see https://gitlab.com/JOSM/gradle-josm-plugin/-/issues/18 // 99c8bc1b08552c5e815a0a5e1809e4b7d07807ea
    * make the MANIFEST.MF file always valid UTF-8, see https://github.com/gradle/gradle/issues/5225 // 881551ad81d0350cd9b5602b1ad5a184e801afab 8e2c7964fecf41c3cc69f960a9540d43c3d42306
    * fix bug when modifying classpaths in the manifest, see https://github.com/floscher/gradle-josm-plugin/pull/13 // eeb263ea98dca1d960c8a0985794a76f98a6ca78 4af86c433d6ae87854a3d2541010c72cd4d84c67
    * better documentation for the `localDist` task, see https://gitlab.com/JOSM/gradle-josm-plugin/-/merge_requests/10 // 6a4a2055f1824b6961324fb35d856e77400f47c1 197e995ea3056a1af88f9a0aa715505c8d87b860
    * add documentation about versioning the plugin // dda124682affdf9d18066b24470a9048ed74a6e7
    * add translatable string for translator credits to generated *.pot file // 9994f4633a00cc81b1981b7faca9de588c078e89
    * small fixes to translation file processing // a0def2969ce8ddda241c92dfeaa316e51fcfbb51 04c0e5d577fd620e7a8b2afecd9e21589df33cb9
    
    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
    
  • v0.8.0 protected Release: Release 0.8.0
    Release 0.8.0
    
    * Update to Gradle 7 (see https://gitlab.com/JOSM/gradle-josm-plugin/-/merge_requests/8) // 8beb3a616714dd827e3929d286cf4ba9c3ead8d0..2dfe304977e0f0363c0e9611109cc22f37d841d0
    * 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) // 39f8aa3cb56012ff4f48109099059f48c335cb9e
    * 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) // f3f9063fc292b9d5094f0bcec92f245039ca6d40..b979b796b2a3fa9413a1beada0f5650b7a4513c2 810ac6c01f21841b50e4da97200dfbf5ffa35b4a 8beb3a616714dd827e3929d286cf4ba9c3ead8d0..9c3d7f6fae479a78b660b6131606385e2447177b
    * 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) // 8a732f737dad41b391fc53b3c9659be9cb48ea9e
    * 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).
    
  • v0.7.1 protected Release: Release 0.7.1
    Release 0.7.1
    
    * simplify task for generating *.pot file (no longer needs helper task `GenerateFileList`) // 3311c76639df18f101b47746ff61bccf96efc2d6
    * update URLs of JOSM SVN // a18f00beaaec872f6eb3381925548c5f663b4e12
    * split the project into four separate modules (was previously just different source sets), the plugin is now also published as multiple artifacts // 374d31dfe9fd4cab70d4ceb92faeb77ecc28ebde
    * the :i18n module is published as both a Java library and also a Javascript library that could be used in the web browser // dddeeca379f8876972ff25ae53d868ac54b72eb8
    * add native support for *.po file encoding and decoding (without needing `gettext` installed, available to both Java and Javascript) // d368c888f0349eec8e8ccb8430b7aa1270ca9e75
    
    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).
    
  • v0.7.0 protected Release: Release 0.7.0
    Release 0.7.0
    
    * add support for Gradle 6 // c18ce1adfdee0afb8372aaa06b2f44252eb58bae
    * add constants for manifest attributes for easier reuse // db56e61a71b355a540147683d199d725d69b8286
    * move the demo project into unit test resources // f7bbd972ea2009ce4f5f2ca5c1f8ca15cbe9dd73 149de5f5c64deca80b7363fa4bb52d1f85d9db35 c688eed2adabc6617b724132da9df8fb51fa4eb8
    * improved logging for tasks, dedicated option to set plugin name // 9244565d1e6cd6eb6d1c94318f544f97765d3716
    * several more minor improvements/restructurings
    
    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.4).
    
  • v0.6.5 protected Release: Release 0.6.5
    Release 0.6.5
    
    * required plugins with minimum Java version larger than current Java version are now ignored // 5ccf010bd85ce3565c7e0c7ccab4cd18baf0053d
    * apply exclusion rules for dependencies in `requiredPlugin`/`packIntoJar` configurations also when compiling against a custom JOSM version // 6de77087632a8d94d1548d085b801602abeed7e6
    
  • v0.6.4 protected Release: Release 0.6.4
    Release 0.6.4
    
    * improve the task `releaseToGitlab` for `gradle-josm-plugin` itself and also for JOSM plugins // 74217fc22d7a62baeb3be61ad3a3b2d1a1221230 2d612ae5345f47f25dfc0afe5dfd9b8477e33f81
    
  • v0.6.3 protected Release: Release 0.6.3
    Release 0.6.3
    
    * fix task failure for the `CustomJosmVersionCompile` tasks, set classpath correctly // a32654082eac1f2889c8059662ac627678414547
    * unify configuration of the tasks for publishing packages to a GitLab instance and creating releases there, make it work automatically in GitLab CI // 86a76dd26ac5c9016f111f3095a865d8d1e5829d
    
  • v0.6.2 protected Release: Release 0.6.2
    Release 0.6.2
    
    * add support for publishing to Gitlab packages (not really stable yet) // 2f675097a1fa54bc714a1c72565d547e6def01db
    * update several dependency versions // 2f675097a1fa54bc714a1c72565d547e6def01db
    * add more KDoc documentation // c081d3ae9d6c9862a94770725c0a84e3a9411352
    
  • v0.6.1 protected Release: Release 0.6.1
    Release 0.6.1
    
    * fix wrong handling of quoted CLI arguments for `RunJosmTask`s (prevented `runJosm` task from running in `v0.6.0`), see https://gitlab.com/floscher/gradle-josm-plugin/issues/9 // 287f194e4c6547ea41aa3535cf6adfd445ed834b
    * resolve virtual JOSM plugins, when used as dependency, see https://gitlab.com/floscher/gradle-josm-plugin/issues/8 // 96108ab764279b8c48e9056df5d379305fc64a7a
    * cache the resolved virtual plugins, so the build can run offline as soon as the dependencies were resolved at least once // 4dbbe18277deecbd8bc7372cf2882c38e43f12fd
    * add new options to add the manifest attributes `Plugin-Provides`, `Plugin-Platform` and `Plugin-Minimum-Java-Version` to your JOSM plugin // 8be229ba29f631249b5b331709aaac660d24ebda
    * tell Gradle, which dependencies it should download from each of the default repositories // e0cb5c6ad638d9d0e71f2c711831ae0a65b6c413
    * fix automatic publishing of the `langconv` standalone *.lang file converter // 1f760f13ff71b9d93af85e2a1fb64347c2db7bce
    
    Note: This release requires at least Gradle 5.1, since it makes use of [matching dependencies to repositories](https://docs.gradle.org/5.1/release-notes.html#repository-to-dependency-matching).
    
  • v0.6.0 protected Release: v0.6.0
    Release 0.6.0
    
    * new standalone program `langconv` for converting between MO file format (gettext) and *.lang file format (JOSM) // e8534c27acf999371904d6541b7bcc16aeac44c1...a510d2dd3c5faeb6563aa64dc8a761a8ccfae843
    * if a JOSM plugin is built not in a git- or SVN-repository, the build now uses the version number `unspecified` instead of erroring out // 28e03e4b554b265f825f3c70fcebe7384f0804a5
    * remove some parts that are deprecated since a few versions now // 6cb720f7550b1ad3f9b41e59b450bbb667485871
    * remove `josmArgs` property for providing command line arguments in favour of command line parameter `--args` provided by Gradle >= 4.9 // 9bbc997ad73210288c86a33850c9ba9d7bf45fec
    * more KDoc documentation for i18n related classes, some docs improvements provided by @Gubaer // 98aca835a037c24e7ba4561ca69008fc269e25a4 80c684d71a467c3e3e2642bdbaacbd14eb96f986
    
  • v0.5.4 protected Release: Release 0.5.4
    Release 0.5.4
    
    Update the plugin so it works with Gradle 5.0
    
  • v0.5.3 protected
    Release 0.5.3
    
    * add tasks for publishing a JOSM plugin to GitHub releases (implemented by @Gubaer, see https://github.com/floscher/gradle-josm-plugin/pull/6) // 543d227f581f62a9c6d8338600e0f8334473d642...d4f35d995aa82caaffed8ee526a50dfaea5334df
    * add the GitLab Maven repository to the repositories provided by default // 69b3597085aa80c0dd623aa330ab55fc3936c889
    * make sure this project builds on Java 11 and 12 // cb87ac83cd3e76160341b503b394601a3b859f49
    * 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) // 4e00ee7ac6a2699e8a1fd74e59c2e8918f65f557
    
  • v0.5.2 protected
    Release 0.5.2
    
    * only log task duration when task isn't skipped // 20f5f40a5eb3b50d1895c8eda70e18c42fb786de
    * add option to remove leading v from project version // 236fa5c80a5c638e2a3e6720f3579ff586702987
    * make logging output of `PoCompile`, `MoCompile` and `LangCompile` more comprehensive // 7707875d83ec2afafa39d8648f42aa4a04e325f3 79e4d37ef071d7a4989b0428dcea0ded544f1426 9755123e23bbb4018a2f7df34fa43a98b81cdd20
    * add new task type which converts Markdown to HTML // 15c60cc70008bc79156986356d648279d49e8c5c
    
  • v0.5.1 protected Release: v0.5.1
    Release 0.5.1
    
    * move the remaining Java code to Kotlin // 7fa932a855bf2668e783dafadc433eae868c738e 95c91841f7fbf91b3214b5b74815591e3e732c3b
    * when determining version of JOSM plugin, fall back to SVN revision when git version is not available // 90edc0515395760d4f01dcfb8775371355bcb461
    * improve GitLab CI build // ed9ac1f09d700c345847f99ca5279c7497a2eaa6 d09072e08bd89f067140a3b1c55bf28b9ac3a27f a1442b3069db020680827718ba9ea272c31e7339
    * deprecate JosmPluginExtension.forProject(Project) // a52fa253ce8d545251984d9e764ed9de2e1078ff
    * log code coverage to console (also available for JOSM plugins to use) // 04efc1b6a55069c09aff419aba750f4c513f1d9f f2e2956f82dc07ad44b4d3ed29a7ccb94369ff74
    * log task duration and skipped tasks by default // 4987399cf7c8b6f28e3906ed5cd01268cee03887
    
    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
    }
    ```
    
  • v0.5.0 protected Release: v0.5.0
    Release 0.5.0
    
    * remove `minJosmVersion` source set // 32962441c04ff375c22be977bddaf02a7f993102
    * add tasks `compileJava_minJosm`, `compileJava_latestJosm` and `compileJava_testedJosm` to compile against different JOSM versions // 32962441c04ff375c22be977bddaf02a7f993102
    * let `transifexDownload` also download languages that are not already present locally // c3e7fdc822af785a4540d9be351787a3484cf80b
    * fix problem of non-persistent `preferences.xml` between multiple `./gradlew runJosm` invocations, when no default preferences file is present // 0e356ad02f143aeb41566f7566c3a01deacc6f25
    * remove deprecated method `getGithubPathTransformer()`, use `getPathTransformer()` instead // 75ff5c7fe6fda04c15bc3c8bb08b5a4728525178
    * don't set project version at all when git-describe can't determine it // a5f73076c16bff24c4b790029e81a6c267528d09
    * require Gradle 4.8, since internally the gradle-josm-plugin now uses task constructors with arguments // ed8968afe7206f0a3a91907965952d58cd74bcdd 87fc04e935178e8baaafe6f25ddc63eb5ff4a4d1
    
  • v0.4.8 protected Release: v0.4.8
    Release 0.4.8
    
    * fix small bug that returned wrong SHA1 hash for `GitDescriber.commitHash()` // 9a0ebe501d5113b9346dacf98322106a7e7d2430
    
  • v0.4.7 protected Release: v0.4.7
    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 // b43562097b89e3c03be90026d3862d4b014cd002
    * the method getPathTransformer(), which creates meaningful paths in *.pot files supports now other git-hosters than GitHub too // 9098c1feb2cd36c4b29dca8cb96024b12c888ef4
    * new class `GitDescriber` for easy access to the commit hash or the `git describe` version number of a git repo (via JGit). The version number of your JOSM plugin will be by default the output of `GitDescriber(projectDir).describe()` (can be overriden) // 2993035ca40537b375f7e704643e3394f6125766
    
  • v0.4.6 protected Release: v0.4.6
    Release 0.4.6
    
    Minor fix for 0.4.5, plugins are now properly renamed when copied to the temporary preferences directory // d413efd4c84de3da1f602577af7ea3eeb674de64
    
  • v0.4.5 protected Release: v0.4.5
    Release 0.4.5
    
    * only reset temporary JOSM preferences to default when currently there are no preferences // 74cc640063d26329c31ecaa808c1dbbfef015572
    * increase priority of Nexus snapshot repository // db4d9f70c93aed8e81b26f4c45e5da1a32e08e52
    * move more tasks to Kotlin // bce24d25e7b7ead930d2280aae8fb4418e72557d