|
5 | 5 | [](#changelog) |
6 | 6 | [](https://circleci.com/gh/diffplug/blowdryer-diffplug) |
7 | 7 |
|
8 | | -## Users |
9 | | - |
10 | | -| user | updated on | to version | |
11 | | -| :----------------------------------------------------------------------- | :---------- | :--------- | |
12 | | -| [atplug](https://github.com/diffplug/atplug) | 2023-01-28 | `7.0.0` | |
13 | | -| [blowdryer](https://github.com/diffplug/blowdryer) | 2023-01-28 | `7.0.0` | |
14 | | -| [durian-globals](https://github.com/diffplug/durian-globals) | 2020-06-05 | `3.2.2` | |
15 | | -| [durian-rx](https://github.com/diffplug/durian-rx) | 2020-01-12 | `3.1.0` | |
16 | | -| [durian-swt](https://github.com/diffplug/durian-swt) | 2021-12-16 | `5.1.3` | |
17 | | -| [goomph](https://github.com/diffplug/goomph) | 2023-02-28 | `7.0.1` | |
18 | | -| [freshmark](https://github.com/diffplug/freshmark) | 2023-02-05 | `7.0.0` | |
19 | | -| [jscriptbox](https://github.com/diffplug/jscriptbox) | 2023-02-05 | `7.0.0` | |
20 | | -| [libxdiff](https://github.com/diffplug/libxdiff) | 2021-02-18 | `3.3.0` | |
21 | | -| [image-grinder](https://github.com/diffplug/image-grinder) | 2020-12-16 | `5.1.3` | |
22 | | -| [spotless-changelog](https://github.com/diffplug/spotless-changelog) | 2023-01-28 | `7.0.0` | |
23 | | -| [webtools](https://github.com/diffplug/webtools) | 2025-07-28 | `9.0.5` | |
24 | | -| *internal projects* | | | |
25 | | -| [buildcloset](http://gitlab.diffplug.local/diffplug/buildcloset/) | 2020-01-12 | `3.2.5` | |
26 | | -| website | 2021-05-28 | `5.0.2` | |
27 | | - |
28 | | -## Available scripts (without `.gradle` extension) |
29 | | - |
30 | | -- **spotless/freshmark** - applies to `*.gradle` and `*.md` |
31 | | - - if `com.diffplug.spotless-changelog` is applied in this or the parent project, then `versionLast` will be set in freshmark |
32 | | -- **spotless/java** - applies to `*.gradle` and java sourcesets |
33 | | - - `干.proj('license', 'supported: [apache, confidential, lgpl-2.1]')` |
34 | | -- **base/java** - sets up java 8 with UTF-8, clean eclipse projects, and mavenCentral |
35 | | - - `干.proj('ver_java', 'target JVM bytecode (8, 11, etc)')` |
36 | | -- **base/kotlin** - apply `org.jetbrains.kotlin.jvm` |
37 | | - - `干.projOptional('kotlin_jvmTarget', 'JVM target for the kotlin plugin')` |
38 | | -- **base/changelog** - pulls version information from a changelog in either the same project or the parent project |
39 | | -- **base/gradle-plugin** - sets up gradle plugin metadata and plugin portal publishing, fixes eclipse to hook gradle |
40 | | - - requires `id 'com.gradle.plugin-publish' version '0.10.1'` |
41 | | - - `干.proj('git_url', 'the git url with no protocol, e.g.: github.com/diffplug/blowdryer')` |
42 | | - - `干.proj('plugin_tags', 'space-delimited list of tags for the gradle plugin portal')` |
43 | | - - `干.proj('plugin_list', 'space-delimited list of plugin names')` |
44 | | - - `干.proj("plugin_${plugin}_id", "for ${plugin}: apply plugin: 'id'")` |
45 | | - - `干.proj("plugin_${plugin}_impl", "for ${plugin}: implementationClass")` |
46 | | - - `干.proj("plugin_${plugin}_name", "for ${plugin}: name for the plugin portal")` |
47 | | - - `干.proj("plugin_${plugin}_desc", "for ${plugin}: description for the plugin portal")` |
48 | | - - optional: `"plugin_${plugin}_tags" : space-delimited list of tags to override plugin_tags only for ${plugin}` |
49 | | -- **base/maven** - sets up maven-publish and javadoc |
50 | | - - `干.proj('git_url', 'the git url with no protocol, e.g.: github.com/diffplug/blowdryer')` |
51 | | - - `干.proj('maven_group', 'the maven group, recommend com.diffplug')` |
52 | | - - `干.proj('maven_artifact', 'the maven artifactId')` |
53 | | - - `干.proj('maven_name', 'human-friendly name')` |
54 | | - - `干.proj('maven_desc', 'human-friendly description')` |
55 | | - - `干.proj('javadoc_links', "space-delimited links, if you add '/package-list' to the urls you should get a package list")` |
56 | | - - `干.proj('license', 'supported: [apache, confidential, lgpl-2.1]')` |
57 | | -- **base/javadoc-agg** - aggregates javadoc from subprojects |
58 | | - - `干.proj('javadoc_agg', 'space-delimited list of projects containing javadoc to be aggregated')` |
59 | | - - (also a subset of **base/maven**) |
60 | | -- **base/sonatype** - publishes to mavenCentral |
61 | | - - requires `id 'io.github.gradle-nexus.publish-plugin' version '1.0.0'` |
62 | | - - unless `enable_publishing` is set in `gradle.properties`, this will be skipped |
63 | | - - `干.proj('nexus_user', 'username for nexus/mavencentral')` |
64 | | - - `干.proj('nexus_pass64', 'password for nexus/mavencentral')` |
65 | | - - `干.proj('gpg_key64', 'gpg --export-secret-keys --armor <key-id>')` |
66 | | - - `干.proj('gpg_passphrase', 'passphrase for unlocking gpg_key')` |
67 | | - - (also a subset of **base/maven**) |
68 | | -- **base/osgi** - adds OSGi metadata to the jar |
69 | | - - requires `id 'com.diffplug.osgi.bndmanifest' version '3.22.0'` (or later) |
70 | | - - `干.proj('osgi_export', '-exportcontents bnd directive')` |
71 | | - - `干.proj('osgi_symbolic_name', 'Bundle-SymbolicName')` |
72 | | - - (also a subset of **base/maven**) |
73 | | -- **base/autovalue** - adds Google AutoValue 1.7 |
74 | | - - requires `id 'com.diffplug.eclipse.apt' version '3.22.0'` (or later) |
75 | | - - `干.proj('VER_AUTOVALUE', 'the autovalue version the user wants')` |
76 | | -- **swt/svg-images** - renders SVG images from `src/svg` into `src/main/resources/svg-rendered` at 1x and 2x DPI (in-line with SWT high-DPI support) |
77 | | - - recommend adding `svg-rendered/` to `.gitignore` |
78 | | - - requires `id 'com.diffplug.image-grinder' version '2.1.2'` (or later) |
79 | | - |
80 | 8 | # Changelog |
81 | 9 | ## [Unreleased] |
82 | 10 |
|
83 | 11 | ## [9.1.0] - 2025-08-22 |
84 | 12 | ### Added |
85 | | -- In `settings.gradle`, add `apply from: 干.file('base/buildscan-on-ci.gradle')` and you'll get buildscans in CI. |
| 13 | +- In `settings.gradle`, add `apply from: com.diffplug.blowdryer.Blowdryer.file('base/buildscan-on-ci.gradle')` and you'll get buildscans in CI. |
86 | 14 |
|
87 | 15 | ## [9.0.5] - 2025-07-29 |
88 | 16 | ### Fixed |
@@ -336,6 +264,79 @@ First release. |
336 | 264 |
|
337 | 265 | <!-- END CHANGELOG --> |
338 | 266 |
|
| 267 | + |
| 268 | +## Users |
| 269 | + |
| 270 | +| user | updated on | to version | |
| 271 | +| :----------------------------------------------------------------------- | :---------- | :--------- | |
| 272 | +| [atplug](https://github.com/diffplug/atplug) | 2023-01-28 | `7.0.0` | |
| 273 | +| [blowdryer](https://github.com/diffplug/blowdryer) | 2023-01-28 | `7.0.0` | |
| 274 | +| [durian-globals](https://github.com/diffplug/durian-globals) | 2020-06-05 | `3.2.2` | |
| 275 | +| [durian-rx](https://github.com/diffplug/durian-rx) | 2020-01-12 | `3.1.0` | |
| 276 | +| [durian-swt](https://github.com/diffplug/durian-swt) | 2021-12-16 | `5.1.3` | |
| 277 | +| [goomph](https://github.com/diffplug/goomph) | 2023-02-28 | `7.0.1` | |
| 278 | +| [freshmark](https://github.com/diffplug/freshmark) | 2023-02-05 | `7.0.0` | |
| 279 | +| [jscriptbox](https://github.com/diffplug/jscriptbox) | 2023-02-05 | `7.0.0` | |
| 280 | +| [libxdiff](https://github.com/diffplug/libxdiff) | 2021-02-18 | `3.3.0` | |
| 281 | +| [image-grinder](https://github.com/diffplug/image-grinder) | 2020-12-16 | `5.1.3` | |
| 282 | +| [spotless-changelog](https://github.com/diffplug/spotless-changelog) | 2023-01-28 | `7.0.0` | |
| 283 | +| [webtools](https://github.com/diffplug/webtools) | 2025-07-28 | `9.0.5` | |
| 284 | +| *internal projects* | | | |
| 285 | +| [buildcloset](http://gitlab.diffplug.local/diffplug/buildcloset/) | 2020-01-12 | `3.2.5` | |
| 286 | +| website | 2021-05-28 | `5.0.2` | |
| 287 | + |
| 288 | +## Available scripts (without `.gradle` extension) |
| 289 | + |
| 290 | +- **spotless/freshmark** - applies to `*.gradle` and `*.md` |
| 291 | + - if `com.diffplug.spotless-changelog` is applied in this or the parent project, then `versionLast` will be set in freshmark |
| 292 | +- **spotless/java** - applies to `*.gradle` and java sourcesets |
| 293 | + - `干.proj('license', 'supported: [apache, confidential, lgpl-2.1]')` |
| 294 | +- **base/java** - sets up java 8 with UTF-8, clean eclipse projects, and mavenCentral |
| 295 | + - `干.proj('ver_java', 'target JVM bytecode (8, 11, etc)')` |
| 296 | +- **base/kotlin** - apply `org.jetbrains.kotlin.jvm` |
| 297 | + - `干.projOptional('kotlin_jvmTarget', 'JVM target for the kotlin plugin')` |
| 298 | +- **base/changelog** - pulls version information from a changelog in either the same project or the parent project |
| 299 | +- **base/gradle-plugin** - sets up gradle plugin metadata and plugin portal publishing, fixes eclipse to hook gradle |
| 300 | + - requires `id 'com.gradle.plugin-publish' version '0.10.1'` |
| 301 | + - `干.proj('git_url', 'the git url with no protocol, e.g.: github.com/diffplug/blowdryer')` |
| 302 | + - `干.proj('plugin_tags', 'space-delimited list of tags for the gradle plugin portal')` |
| 303 | + - `干.proj('plugin_list', 'space-delimited list of plugin names')` |
| 304 | + - `干.proj("plugin_${plugin}_id", "for ${plugin}: apply plugin: 'id'")` |
| 305 | + - `干.proj("plugin_${plugin}_impl", "for ${plugin}: implementationClass")` |
| 306 | + - `干.proj("plugin_${plugin}_name", "for ${plugin}: name for the plugin portal")` |
| 307 | + - `干.proj("plugin_${plugin}_desc", "for ${plugin}: description for the plugin portal")` |
| 308 | + - optional: `"plugin_${plugin}_tags" : space-delimited list of tags to override plugin_tags only for ${plugin}` |
| 309 | +- **base/maven** - sets up maven-publish and javadoc |
| 310 | + - `干.proj('git_url', 'the git url with no protocol, e.g.: github.com/diffplug/blowdryer')` |
| 311 | + - `干.proj('maven_group', 'the maven group, recommend com.diffplug')` |
| 312 | + - `干.proj('maven_artifact', 'the maven artifactId')` |
| 313 | + - `干.proj('maven_name', 'human-friendly name')` |
| 314 | + - `干.proj('maven_desc', 'human-friendly description')` |
| 315 | + - `干.proj('javadoc_links', "space-delimited links, if you add '/package-list' to the urls you should get a package list")` |
| 316 | + - `干.proj('license', 'supported: [apache, confidential, lgpl-2.1]')` |
| 317 | +- **base/javadoc-agg** - aggregates javadoc from subprojects |
| 318 | + - `干.proj('javadoc_agg', 'space-delimited list of projects containing javadoc to be aggregated')` |
| 319 | + - (also a subset of **base/maven**) |
| 320 | +- **base/sonatype** - publishes to mavenCentral |
| 321 | + - requires `id 'io.github.gradle-nexus.publish-plugin' version '1.0.0'` |
| 322 | + - unless `enable_publishing` is set in `gradle.properties`, this will be skipped |
| 323 | + - `干.proj('nexus_user', 'username for nexus/mavencentral')` |
| 324 | + - `干.proj('nexus_pass64', 'password for nexus/mavencentral')` |
| 325 | + - `干.proj('gpg_key64', 'gpg --export-secret-keys --armor <key-id>')` |
| 326 | + - `干.proj('gpg_passphrase', 'passphrase for unlocking gpg_key')` |
| 327 | + - (also a subset of **base/maven**) |
| 328 | +- **base/osgi** - adds OSGi metadata to the jar |
| 329 | + - requires `id 'com.diffplug.osgi.bndmanifest' version '3.22.0'` (or later) |
| 330 | + - `干.proj('osgi_export', '-exportcontents bnd directive')` |
| 331 | + - `干.proj('osgi_symbolic_name', 'Bundle-SymbolicName')` |
| 332 | + - (also a subset of **base/maven**) |
| 333 | +- **base/autovalue** - adds Google AutoValue 1.7 |
| 334 | + - requires `id 'com.diffplug.eclipse.apt' version '3.22.0'` (or later) |
| 335 | + - `干.proj('VER_AUTOVALUE', 'the autovalue version the user wants')` |
| 336 | +- **swt/svg-images** - renders SVG images from `src/svg` into `src/main/resources/svg-rendered` at 1x and 2x DPI (in-line with SWT high-DPI support) |
| 337 | + - recommend adding `svg-rendered/` to `.gitignore` |
| 338 | + - requires `id 'com.diffplug.image-grinder' version '2.1.2'` (or later) |
| 339 | + |
339 | 340 | # Acknowledgements |
340 | 341 |
|
341 | 342 | - Thanks to [Vladimir Sitnikov](https://github.com/vlsi) for his [mdoclet workaround](https://github.com/autostyle/autostyle/blob/f201199bc327887225db38ae34261bfb4a861527/buildSrc/src/main/kotlin/mdoclet.gradle.kts). |
|
0 commit comments