Skip to content

Commit 65f0c3b

Browse files
committed
Bump plugin versions to our modern config.
1 parent ba108ec commit 65f0c3b

2 files changed

Lines changed: 30 additions & 25 deletions

File tree

build.gradle

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
plugins {
2-
// code formatting
3-
id "com.diffplug.spotless" version "6.19.0"
42
// for downloading JRE6
53
id "de.undercouch.download" version "5.4.0"
64
}
@@ -90,28 +88,6 @@ project.tasks.withType(AbstractCompile, { AbstractCompile ac ->
9088
ac.dependsOn(unzipJRE6)
9189
})
9290

93-
////////////
94-
// FORMAT //
95-
////////////
96-
spotless {
97-
java {
98-
licenseHeaderFile 'spotless.license.java' // License header file
99-
importOrderFile 'spotless.importorder' // An import ordering file, exported from Eclipse
100-
eclipseFormatFile 'spotless.eclipseformat.xml' // XML file dumped out by the Eclipse formatter
101-
removeUnusedImports()
102-
}
103-
format 'misc', {
104-
target '.gitignore', '*.gradle', '*.md', '.ci/*.sh'
105-
indentWithTabs()
106-
trimTrailingWhitespace()
107-
endWithNewline()
108-
}
109-
freshmark {
110-
target '*.md'
111-
propertiesFile('gradle.properties')
112-
}
113-
}
114-
11591
// we'll want the findbugs annotations (they don't have a 3.0.1 version)
11692
dependencies {
11793
implementation 'com.google.code.findbugs:annotations:3.0.0'

settings.gradle

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,30 @@
1-
include 'matlabcontrol'
1+
pluginManagement {
2+
repositories {
3+
mavenCentral()
4+
gradlePluginPortal()
5+
}
6+
}
7+
plugins {
8+
// https://github.com/diffplug/blowdryer/blob/main/CHANGELOG.md
9+
id 'com.diffplug.blowdryerSetup' version '1.7.0'
10+
// https://github.com/diffplug/spotless/blob/main/plugin-gradle/CHANGES.md
11+
id 'com.diffplug.spotless' version '6.16.0' apply false
12+
// https://github.com/diffplug/spotless-changelog/blob/main/CHANGELOG.md
13+
id 'com.diffplug.spotless-changelog' version '3.0.1' apply false
14+
// https://plugins.gradle.org/plugin/com.gradle.plugin-publish
15+
id 'com.gradle.plugin-publish' version '1.1.0' apply false
16+
// https://github.com/equodev/equo-ide/blob/main/plugin-gradle/CHANGELOG.md
17+
id 'dev.equo.ide' version '0.16.0' apply false
18+
// https://github.com/gradle-nexus/publish-plugin/releases
19+
id 'io.github.gradle-nexus.publish-plugin' version '1.2.0' apply false
20+
}
21+
22+
blowdryerSetup {
23+
github 'diffplug/blowdryer-diffplug', 'tag', '7.0.2'
24+
//devLocal '../blowdryer-diffplug'
25+
setPluginsBlockTo {
26+
it.file 'plugin.versions'
27+
}
28+
}
29+
30+
rootProject.name = 'matlabcontrol'

0 commit comments

Comments
 (0)