Skip to content

Commit 306fc99

Browse files
authored
Remove the IDE project (#981)
2 parents 8ad1d84 + fb28f90 commit 306fc99

File tree

6 files changed

+2
-61
lines changed

6 files changed

+2
-61
lines changed

build.gradle

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,6 @@ spotless {
2222
}
2323
}
2424

25-
// root eclipse project
26-
apply plugin: 'com.diffplug.eclipse.resourcefilters'
27-
eclipseResourceFilters {
28-
exclude().folders().name('.git')
29-
exclude().folders().name('build').recursive()
30-
31-
exclude().folders().name('lib')
32-
exclude().folders().name('lib-extra')
33-
exclude().folders().name('plugin-gradle')
34-
exclude().folders().name('plugin-maven')
35-
exclude().folders().name('testlib')
36-
}
37-
3825
static Class<?> spotBugsTaskType() {
3926
return com.github.spotbugs.snom.SpotBugsTask
4027
}

gradle/java-setup.gradle

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,6 @@ sourceCompatibility = VER_JAVA
1010
targetCompatibility = VER_JAVA
1111
tasks.withType(JavaCompile) { options.encoding = 'UTF-8' }
1212

13-
/////////////
14-
// ECLIPSE //
15-
/////////////
16-
apply plugin: 'eclipse'
17-
eclipse {
18-
classpath {
19-
downloadSources true
20-
downloadJavadoc true
21-
}
22-
}
23-
// always create fresh projects
24-
tasks.eclipse.dependsOn(cleanEclipse)
25-
26-
apply plugin: 'com.diffplug.eclipse.resourcefilters'
27-
eclipseResourceFilters {
28-
exclude().folders().name('build')
29-
}
30-
3113
//////////////
3214
// SPOTBUGS //
3315
//////////////

gradle/spotless.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ spotless {
1212
throw new AssertionError("Accidental internal import")
1313
}
1414
}
15-
if (project.name != 'ide' && project != rootProject) {
16-
// the rootProject and ide projects don't have any java
15+
if (project != rootProject) {
16+
// the rootProject doesn't have any java
1717
java {
1818
ratchetFrom 'origin/main'
1919
custom 'noInternalDeps', noInternalDepsClosure

ide/build.gradle

Lines changed: 0 additions & 17 deletions
This file was deleted.

plugin-gradle/build.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ test {
3434

3535
apply from: rootProject.file('gradle/special-tests.gradle')
3636

37-
// make it easy for eclipse to run against latest build
38-
tasks.eclipse.dependsOn(pluginUnderTestMetadata)
39-
4037
//////////////////////////
4138
// GRADLE PLUGIN PORTAL //
4239
//////////////////////////

settings.gradle

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
pluginManagement {
22
plugins {
33
id 'com.diffplug.spotless' version '5.17.1'
4-
// https://github.com/diffplug/goomph/blob/main/CHANGES.md
5-
id 'com.diffplug.eclipse.resourcefilters' version '3.33.2'
64
// https://plugins.gradle.org/plugin/com.gradle.plugin-publish
75
id 'com.gradle.plugin-publish' version '0.17.0'
86
// https://github.com/gradle-nexus/publish-plugin/releases
@@ -15,7 +13,6 @@ pluginManagement {
1513
}
1614
plugins {
1715
id 'com.diffplug.spotless' apply false
18-
id 'com.diffplug.eclipse.resourcefilters' apply false
1916
id 'com.gradle.plugin-publish' apply false
2017
id 'io.github.gradle-nexus.publish-plugin' apply false
2118
id 'com.github.spotbugs' apply false
@@ -49,11 +46,6 @@ if (System.env['CI'] != null) {
4946
}
5047
}
5148

52-
if (startParameter.getProjectProperties().get('release') != 'true') {
53-
// the ide project screws up the release tasks
54-
include 'ide'
55-
}
56-
5749
rootProject.name = 'spotless'
5850

5951
include 'lib' // reusable library with no dependencies

0 commit comments

Comments
 (0)