Skip to content

Commit

Permalink
Bump build plugins.
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed Feb 28, 2023
1 parent 7987589 commit 12a90c0
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 25 deletions.
15 changes: 7 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,18 @@ spotlessChangelog {

apply plugin: 'com.diffplug.blowdryer'

apply from: 干.file('base/java8.gradle')
configurations.all {
exclude group: 'org.eclipse.platform', module: 'org.eclipse.swt.${osgi.platform}'
exclude group: 'com.sun.jna', module: 'com.sun.jna'
exclude group: 'com.sun.jna', module: 'com.sun.jna.platform'
}
apply from: 干.file('base/java.gradle')
apply from: 干.file('base/changelog.gradle')
apply from: 干.file('base/gradle-plugin.gradle')
apply from: 干.file('base/maven.gradle')
apply from: 干.file('base/sonatype.gradle')
apply from: 干.file('spotless/freshmark.gradle')
apply from: 干.file('spotless/java.gradle')
apply from: 干.file('base/maven.gradle')
spotless {
java {
targetExclude 'src/main/java/com/diffplug/gradle/eclipse/apt/**'
Expand Down Expand Up @@ -65,12 +70,6 @@ eclipseMavenCentral {
}
}

configurations.all {
exclude group: 'org.eclipse.platform', module: 'org.eclipse.swt.${osgi.platform}'
exclude group: 'com.sun.jna', module: 'com.sun.jna'
exclude group: 'com.sun.jna', module: 'com.sun.jna.platform'
}

test {
if(JavaVersion.current() != JavaVersion.VERSION_1_8) {
jvmArgs '--add-modules=ALL-SYSTEM', '--add-opens=java.base/jdk.internal.loader=ALL-UNNAMED'
Expand Down
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ plugin_list=\
osgiBndManifest \
swtNativeDeps

ver_java=8

javadoc_links=

plugin_eclipseApt_id=com.diffplug.eclipse.apt
Expand Down
40 changes: 23 additions & 17 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,26 +1,32 @@
pluginManagement {
plugins {
id 'com.diffplug.blowdryer' version '1.6.0'
id 'com.diffplug.blowdryerSetup' version '1.6.0'
id 'com.diffplug.eclipse.mavencentral' version '3.36.2'
id 'com.diffplug.spotless-changelog' version '2.4.0'
id 'com.diffplug.spotless' version '6.6.0'
id 'com.gradle.plugin-publish' version '0.21.0'
id 'io.github.gradle-nexus.publish-plugin' version '1.1.0'
id 'org.jdrupes.mdoclet' version '1.0.10'
repositories {
mavenCentral()
gradlePluginPortal()
}
}
plugins {
id 'com.diffplug.blowdryerSetup'
id 'com.diffplug.eclipse.mavencentral' apply false
id 'com.diffplug.spotless-changelog' apply false
id 'com.diffplug.spotless' apply false
id 'com.gradle.plugin-publish' apply false
id 'io.github.gradle-nexus.publish-plugin' apply false
id 'org.jdrupes.mdoclet' apply false
// https://github.com/diffplug/blowdryer/blob/main/CHANGELOG.md
id 'com.diffplug.blowdryerSetup' version '1.7.0'
// https://github.com/diffplug/spotless/blob/main/plugin-gradle/CHANGES.md
id 'com.diffplug.spotless' version '6.14.0' apply false
// https://github.com/diffplug/spotless-changelog/blob/main/CHANGELOG.md
id 'com.diffplug.spotless-changelog' version '2.4.1' apply false
// https://plugins.gradle.org/plugin/com.gradle.plugin-publish
id 'com.gradle.plugin-publish' version '1.1.0' apply false
// https://github.com/equodev/equo-ide/blob/main/plugin-gradle/CHANGELOG.md
id 'dev.equo.ide' version '0.12.1' apply false
// https://github.com/gradle-nexus/publish-plugin/releases
id 'io.github.gradle-nexus.publish-plugin' version '1.1.0' apply false
// dogfood
id 'com.diffplug.eclipse.mavencentral' version '3.40.0' apply false
}
blowdryerSetup {
github 'diffplug/blowdryer-diffplug', 'tag', '5.2.0'
github 'diffplug/blowdryer-diffplug', 'tag', '7.0.0'
//devLocal '../blowdryer-diffplug'
setPluginsBlockTo {
it.file 'plugin.versions'
it.add("\t// dogfood");
it.add("\tid 'com.diffplug.eclipse.mavencentral' version '3.40.0' apply false")
}
}
rootProject.name = 'goomph'

0 comments on commit 12a90c0

Please sign in to comment.