├── .gitignore
├── .project
├── CODE_OF_CONDUCT.adoc
├── README.md
├── docs
├── .project
├── convert.sh
├── css
│ ├── highlight.css
│ └── stylesheet.css
├── faq.html
├── gradle-sts-tutorial.html
├── img
│ ├── choose-gradle-wizard.png
│ ├── console-view.png
│ ├── edit-configuration.png
│ ├── expanded-classpath-container.png
│ ├── gradle-context-menu.png
│ ├── gradle-tasks-view.png
│ ├── import-again.png
│ ├── import-finish.png
│ ├── import-jaas-sample.png
│ ├── import-root.png
│ ├── import-wizard-1.png
│ ├── import-wizard-building-model.png
│ ├── open-gradle-tasks-view.png
│ ├── order-tasks.png
│ ├── persisted-container.png
│ ├── refresh-tab.png
│ ├── run-as-menu.png
│ ├── run-before.png
│ ├── show-view-other.png
│ ├── spring09_logo.png
│ ├── sts60x60.png
│ ├── task-filter-text.png
│ ├── tasks-view-with-filter.png
│ ├── toolbar.png
│ └── ws-right-after-import.png
├── index.html
├── installation.html
└── installation.md
├── license.txt
├── local-build.sh
├── open_source_licenses.txt
├── org.springsource.ide.eclipse.gradle.core.test
├── .classpath
├── .project
├── .settings
│ └── org.eclipse.jdt.core.prefs
├── META-INF
│ └── MANIFEST.MF
├── about.html
├── build.properties
├── plugin.xml
├── pom.xml
├── resources
│ ├── data
│ │ └── antLoadfileResources
│ │ │ ├── bar.txt
│ │ │ └── foo.txt
│ └── projects
│ │ ├── multiproject-m6
│ │ ├── boink
│ │ │ └── Main.java
│ │ ├── boink2
│ │ │ └── Spain.java
│ │ ├── build.gradle
│ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ └── gradle-wrapper.properties
│ │ ├── settings.gradle
│ │ └── subproject
│ │ │ └── build.gradle
│ │ ├── multiproject
│ │ ├── boink
│ │ │ └── Main.java
│ │ ├── boink2
│ │ │ └── Spain.java
│ │ ├── build.gradle
│ │ ├── settings.gradle
│ │ └── subproject
│ │ │ └── build.gradle
│ │ ├── non-exported-deps
│ │ ├── build.gradle
│ │ ├── lib
│ │ │ └── src
│ │ │ │ └── main
│ │ │ │ └── java
│ │ │ │ └── org
│ │ │ │ └── test
│ │ │ │ └── lib
│ │ │ │ └── Hello.java
│ │ ├── main
│ │ │ └── src
│ │ │ │ └── main
│ │ │ │ └── java
│ │ │ │ └── org
│ │ │ │ └── test
│ │ │ │ └── main
│ │ │ │ └── Main.java
│ │ └── settings.gradle
│ │ ├── oldWrapperFormat
│ │ ├── build.gradle
│ │ └── gradle
│ │ │ └── wrapper
│ │ │ └── gradle-wrapper.properties
│ │ ├── oldWrapperVersion
│ │ ├── build.gradle
│ │ └── gradle
│ │ │ └── wrapper
│ │ │ └── gradle-wrapper.properties
│ │ ├── quickstart-noeclipse
│ │ ├── build.gradle
│ │ └── src
│ │ │ ├── main
│ │ │ ├── java
│ │ │ │ └── org
│ │ │ │ │ └── gradle
│ │ │ │ │ └── Person.java
│ │ │ └── resources
│ │ │ │ └── org
│ │ │ │ └── gradle
│ │ │ │ └── resource.xml
│ │ │ └── test
│ │ │ ├── java
│ │ │ └── org
│ │ │ │ └── gradle
│ │ │ │ └── PersonTest.java
│ │ │ └── resources
│ │ │ └── org
│ │ │ └── gradle
│ │ │ └── test-resource.xml
│ │ ├── remapping-multiproject
│ │ ├── build.gradle
│ │ ├── lib
│ │ │ └── src
│ │ │ │ └── main
│ │ │ │ └── java
│ │ │ │ └── org
│ │ │ │ └── test
│ │ │ │ └── lib
│ │ │ │ └── Hello.java
│ │ ├── main
│ │ │ └── src
│ │ │ │ └── main
│ │ │ │ └── java
│ │ │ │ └── org
│ │ │ │ └── test
│ │ │ │ └── main
│ │ │ │ └── Main.java
│ │ ├── settings.gradle
│ │ └── sublib
│ │ │ └── src
│ │ │ └── main
│ │ │ └── java
│ │ │ └── org
│ │ │ └── test
│ │ │ └── sublib
│ │ │ └── SubHello.java
│ │ ├── slowstart
│ │ ├── build.gradle
│ │ └── src
│ │ │ ├── main
│ │ │ ├── java
│ │ │ │ └── org
│ │ │ │ │ └── gradle
│ │ │ │ │ └── Person.java
│ │ │ └── resources
│ │ │ │ └── org
│ │ │ │ └── gradle
│ │ │ │ └── resource.xml
│ │ │ └── test
│ │ │ ├── java
│ │ │ └── org
│ │ │ │ └── gradle
│ │ │ │ └── PersonTest.java
│ │ │ └── resources
│ │ │ └── org
│ │ │ └── gradle
│ │ │ └── test-resource.xml
│ │ ├── sts-2407
│ │ ├── build.gradle
│ │ ├── buildutilities
│ │ │ ├── .acignore
│ │ │ ├── build.gradle
│ │ │ └── gradle
│ │ │ │ ├── build.launch
│ │ │ │ ├── clean.launch
│ │ │ │ ├── jettyRun.launch
│ │ │ │ ├── plugins
│ │ │ │ ├── accurev.gradle
│ │ │ │ ├── aspectJ.gradle
│ │ │ │ └── axisWsdl2Java.gradle
│ │ │ │ ├── tasks.launch
│ │ │ │ └── wrapper
│ │ │ │ └── wrapper.properties
│ │ ├── projectA
│ │ │ ├── build.gradle
│ │ │ └── projectB
│ │ │ │ ├── projectC
│ │ │ │ ├── build.gradle
│ │ │ │ └── src
│ │ │ │ │ └── main
│ │ │ │ │ └── java
│ │ │ │ │ └── test
│ │ │ │ │ └── Test1.java
│ │ │ │ └── projectD
│ │ │ │ ├── build.gradle
│ │ │ │ └── src
│ │ │ │ └── test
│ │ │ │ └── java
│ │ │ │ └── test
│ │ │ │ └── Test1Test.java
│ │ └── settings.gradle
│ │ ├── sts1842
│ │ ├── build.gradle
│ │ ├── greeteds
│ │ │ └── world
│ │ │ │ └── src
│ │ │ │ └── main
│ │ │ │ └── java
│ │ │ │ └── World.java
│ │ ├── hello
│ │ │ └── src
│ │ │ │ └── main
│ │ │ │ └── java
│ │ │ │ └── Hello.java
│ │ ├── settings.gradle
│ │ └── src
│ │ │ └── main
│ │ │ └── java
│ │ │ └── Greetings.java
│ │ ├── sts1950
│ │ ├── A
│ │ │ ├── build.gradle
│ │ │ └── src
│ │ │ │ └── main
│ │ │ │ └── java
│ │ │ │ └── testa
│ │ │ │ └── TestA.java
│ │ ├── B
│ │ │ ├── build.gradle
│ │ │ └── src
│ │ │ │ └── test
│ │ │ │ └── java
│ │ │ │ └── testb
│ │ │ │ └── TestB.java
│ │ ├── C
│ │ │ ├── build.gradle
│ │ │ └── src
│ │ │ │ └── main
│ │ │ │ └── java
│ │ │ │ └── testc
│ │ │ │ └── TestC.java
│ │ ├── build.gradle
│ │ └── settings.gradle
│ │ ├── sts2175
│ │ ├── build.gradle
│ │ ├── settings.gradle
│ │ ├── suba
│ │ │ ├── README.txt
│ │ │ └── src
│ │ │ │ ├── main
│ │ │ │ └── java
│ │ │ │ │ └── README.txt
│ │ │ │ └── test
│ │ │ │ └── java
│ │ │ │ └── README.txt
│ │ ├── subb
│ │ │ └── README.txt
│ │ └── subc
│ │ │ └── README.txt
│ │ ├── sts2185
│ │ ├── A
│ │ │ ├── build.gradle
│ │ │ └── src
│ │ │ │ └── main
│ │ │ │ └── webapp
│ │ │ │ ├── WEB-INF
│ │ │ │ └── lib
│ │ │ │ │ └── junk.jar
│ │ │ │ └── index.jsp
│ │ ├── B
│ │ │ └── build.gradle
│ │ ├── Junk
│ │ │ ├── .classpath
│ │ │ ├── .project
│ │ │ ├── .settings
│ │ │ │ └── org.eclipse.jdt.core.prefs
│ │ │ ├── README.txt
│ │ │ └── src
│ │ │ │ └── junk
│ │ │ │ └── Junk.java
│ │ └── settings.gradle
│ │ ├── sts2405
│ │ ├── main
│ │ │ ├── build.gradle
│ │ │ └── src
│ │ │ │ ├── main
│ │ │ │ ├── java
│ │ │ │ │ └── org
│ │ │ │ │ │ └── gradle
│ │ │ │ │ │ └── Person.java
│ │ │ │ └── resources
│ │ │ │ │ └── org
│ │ │ │ │ └── gradle
│ │ │ │ │ └── resource.xml
│ │ │ │ └── test
│ │ │ │ ├── java
│ │ │ │ └── org
│ │ │ │ │ └── gradle
│ │ │ │ │ └── PersonTest.java
│ │ │ │ └── resources
│ │ │ │ └── org
│ │ │ │ └── gradle
│ │ │ │ └── test-resource.xml
│ │ └── myLib
│ │ │ ├── .classpath
│ │ │ ├── .project
│ │ │ ├── .settings
│ │ │ ├── org.eclipse.jdt.core.prefs
│ │ │ └── org.eclipse.m2e.core.prefs
│ │ │ ├── pom.xml
│ │ │ └── src
│ │ │ └── main
│ │ │ └── java
│ │ │ └── org
│ │ │ └── gradle
│ │ │ └── CoolClass.java
│ │ ├── sts2834
│ │ ├── my-app
│ │ │ ├── build.gradle
│ │ │ └── src
│ │ │ │ └── main
│ │ │ │ └── java
│ │ │ │ └── org
│ │ │ │ └── myapp
│ │ │ │ └── Main.java
│ │ └── my-lib
│ │ │ ├── build.gradle
│ │ │ └── src
│ │ │ └── main
│ │ │ └── java
│ │ │ └── org
│ │ │ └── mylib
│ │ │ └── Utils.java
│ │ ├── sts3742
│ │ ├── build.gradle
│ │ ├── lib
│ │ │ ├── my-jar-sources.jar
│ │ │ └── my-jar.jar
│ │ └── src
│ │ │ └── main
│ │ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── main
│ │ │ └── Web.java
│ │ ├── sts3953
│ │ ├── FlatMulti
│ │ │ ├── .classpath
│ │ │ ├── .project
│ │ │ ├── .settings
│ │ │ │ └── gradle
│ │ │ │ │ ├── org.springsource.ide.eclipse.gradle.core.prefs
│ │ │ │ │ └── org.springsource.ide.eclipse.gradle.refresh.prefs
│ │ │ ├── build.gradle
│ │ │ └── settings.gradle
│ │ ├── my-lib
│ │ │ ├── .classpath
│ │ │ ├── .project
│ │ │ ├── .settings
│ │ │ │ ├── gradle
│ │ │ │ │ ├── org.springsource.ide.eclipse.gradle.core.prefs
│ │ │ │ │ └── org.springsource.ide.eclipse.gradle.refresh.prefs
│ │ │ │ └── org.eclipse.jdt.core.prefs
│ │ │ ├── build.gradle
│ │ │ └── src
│ │ │ │ ├── main
│ │ │ │ ├── java
│ │ │ │ │ ├── my
│ │ │ │ │ │ └── cool
│ │ │ │ │ │ │ └── lib
│ │ │ │ │ │ │ └── CoolLib.java
│ │ │ │ │ └── org
│ │ │ │ │ │ └── gradle
│ │ │ │ │ │ └── Person.java
│ │ │ │ └── resources
│ │ │ │ │ └── org
│ │ │ │ │ └── gradle
│ │ │ │ │ └── resource.xml
│ │ │ │ └── test
│ │ │ │ ├── java
│ │ │ │ └── org
│ │ │ │ │ └── gradle
│ │ │ │ │ └── PersonTest.java
│ │ │ │ └── resources
│ │ │ │ └── org
│ │ │ │ └── gradle
│ │ │ │ └── test-resource.xml
│ │ └── product
│ │ │ ├── .classpath
│ │ │ ├── .project
│ │ │ ├── .settings
│ │ │ ├── gradle
│ │ │ │ ├── org.springsource.ide.eclipse.gradle.core.prefs
│ │ │ │ └── org.springsource.ide.eclipse.gradle.refresh.prefs
│ │ │ └── org.eclipse.jdt.core.prefs
│ │ │ ├── build.gradle
│ │ │ └── src
│ │ │ ├── main
│ │ │ ├── java
│ │ │ │ └── my
│ │ │ │ │ └── cool
│ │ │ │ │ └── app
│ │ │ │ │ └── Runner.java
│ │ │ └── resources
│ │ │ │ └── README.txt
│ │ │ └── test
│ │ │ ├── java
│ │ │ └── README.txt
│ │ │ └── resources
│ │ │ └── README.txt
│ │ └── sts_2205
│ │ ├── build.gradle
│ │ └── src
│ │ └── main
│ │ └── java
│ │ ├── testb
│ │ └── TestB.java
│ │ └── testb2
│ │ └── TestB2.java
└── src
│ └── org
│ └── springsource
│ └── ide
│ └── eclipse
│ └── gradle
│ └── core
│ ├── modelmanager
│ └── test
│ │ ├── DefaultModelBuilderTest.java
│ │ ├── GradleModelManagerTest.java
│ │ └── ModelPromise.java
│ └── test
│ ├── AllGradleCoreTests.java
│ ├── ArgumentsParserTests.java
│ ├── ArrayEncoderTest.java
│ ├── ClasspathContainerTests.java
│ ├── DistributionValidatorTest.java
│ ├── GradleImportTests.java
│ ├── GradleMenuEnablementTest.java
│ ├── GradleProjectTest.java
│ ├── GradleRefreshPreferencesTest.java
│ ├── GradleSampleProjectTest.java
│ ├── GradleTaskRunTest.java
│ ├── GradleTest.java
│ ├── JarRemappingTests.java
│ ├── MockNewProjectWizardUI.java
│ ├── NewProjectWizardValidatorTest.java
│ ├── Predicate.java
│ ├── TopoSortTest.java
│ └── util
│ ├── ACondition.java
│ ├── AddedResourceListener.java
│ ├── ExternalCommand.java
│ ├── ExternalProcess.java
│ ├── GitProject.java
│ ├── InterruptEater.java
│ ├── JUnitLaunchConfigUtil.java
│ ├── JavaUtils.java
│ ├── JavaXXRuntime.java
│ ├── KillGradleDaemons.java
│ ├── LoggingProgressMonitor.java
│ ├── ManagedTestSuite.java
│ ├── MavenCommand.java
│ ├── RefreshAllActionCoreTests.java
│ ├── TestProjectConfigurators.java
│ └── TestUtils.java
├── org.springsource.ide.eclipse.gradle.core
├── .classpath
├── .project
├── .settings
│ ├── gradle
│ │ ├── org.springsource.ide.eclipse.gradle.core.prefs
│ │ └── org.springsource.ide.eclipse.gradle.refresh.prefs
│ ├── org.eclipse.jdt.core.prefs
│ └── org.eclipse.jdt.groovy.core.prefs
├── META-INF
│ ├── MANIFEST.MF
│ └── p2.inf
├── about.html
├── build.properties
├── plugin.xml
├── pom.xml
├── samples
│ └── flat-java-multiproject
│ │ ├── build.gradle
│ │ ├── my-lib
│ │ ├── build.gradle
│ │ └── src
│ │ │ ├── main
│ │ │ ├── java
│ │ │ │ ├── my
│ │ │ │ │ └── cool
│ │ │ │ │ │ └── lib
│ │ │ │ │ │ └── CoolLib.java
│ │ │ │ └── org
│ │ │ │ │ └── gradle
│ │ │ │ │ └── Person.java
│ │ │ └── resources
│ │ │ │ └── org
│ │ │ │ └── gradle
│ │ │ │ └── resource.xml
│ │ │ └── test
│ │ │ ├── java
│ │ │ └── org
│ │ │ │ └── gradle
│ │ │ │ └── PersonTest.java
│ │ │ └── resources
│ │ │ └── org
│ │ │ └── gradle
│ │ │ └── test-resource.xml
│ │ ├── product
│ │ ├── build.gradle
│ │ └── src
│ │ │ ├── main
│ │ │ ├── java
│ │ │ │ └── my
│ │ │ │ │ └── cool
│ │ │ │ │ └── app
│ │ │ │ │ └── Runner.java
│ │ │ └── resources
│ │ │ │ └── README.txt
│ │ │ └── test
│ │ │ ├── java
│ │ │ └── README.txt
│ │ │ └── resources
│ │ │ └── README.txt
│ │ └── settings.gradle
├── schema
│ └── projectConfigurators.exsd
└── src
│ └── org
│ └── springsource
│ └── ide
│ └── eclipse
│ └── gradle
│ └── core
│ ├── ClassPath.java
│ ├── Debug.java
│ ├── DefaultProjectMapper.java
│ ├── ExistingWorkspaceProjectMapper.java
│ ├── GradleCore.java
│ ├── GradleNature.java
│ ├── GradleProject.java
│ ├── GradleProjectManager.java
│ ├── GradleSaveParticipant.java
│ ├── IProjectMapper.java
│ ├── InconsistenProjectHierarchyException.java
│ ├── ProjectConfigurationManager.java
│ ├── ProjectConfigurationRequest.java
│ ├── ProjectHierarchyVisitor.java
│ ├── ProjectMapperFactory.java
│ ├── ProjectOpenCloseListener.java
│ ├── ProjectOpenCloseListenerManager.java
│ ├── SystemPropertyCleaner.java
│ ├── TaskUtil.java
│ ├── actions
│ ├── Continuable.java
│ ├── GradleRefreshPreferences.java
│ ├── IProjectProvider.java
│ ├── RefreshAllActionCore.java
│ ├── RefreshDependenciesActionCore.java
│ └── ReimportOperation.java
│ ├── api
│ ├── IProjectConfigurationRequest.java
│ └── IProjectConfigurator.java
│ ├── autorefresh
│ ├── DependencyRefresher.java
│ ├── GradleWorkspaceListener.java
│ └── IDirtyProjectListener.java
│ ├── classpathcontainer
│ ├── ClassPathModel.java
│ ├── FastOperationFailedException.java
│ ├── GradleClassPathContainer.java
│ ├── GradleClasspathContainerInitializer.java
│ ├── GradleDependencyComputer.java
│ ├── JarRemapRefresher.java
│ └── MarkerMaker.java
│ ├── launch
│ ├── GradleLaunchConfigurationDelegate.java
│ ├── GradleOutputStreamMonitor.java
│ ├── GradlePipedInputStream.java
│ ├── GradleProcess.java
│ ├── GradleStreamsProxy.java
│ ├── LaunchTerminationListener.java
│ └── LaunchUtil.java
│ ├── m2e
│ └── M2EUtils.java
│ ├── modelmanager
│ ├── AbstractModelBuilder.java
│ ├── BuildResult.java
│ ├── BuildScheduler.java
│ ├── BuildStrategy.java
│ ├── DefaultModelBuilder.java
│ ├── GradleModelManager.java
│ ├── GradleProjectModelManager.java
│ ├── HierarchicalProjectBuildStrategy.java
│ ├── IGradleModelListener.java
│ ├── Lock.java
│ ├── LockManager.java
│ ├── ModelBuilder.java
│ ├── ProjectBuildResult.java
│ ├── SingleProjectBuildStrategy.java
│ └── ToolinApiUtils.java
│ ├── preferences
│ ├── AbstractGradlePreferences.java
│ ├── AbstractGradleProjectPreferences.java
│ ├── GlobalSettings.java
│ ├── GradleAPIProperties.java
│ ├── GradleImportPreferences.java
│ ├── GradlePreferences.java
│ ├── GradleProjectPreferences.java
│ └── IJavaHomePreferences.java
│ ├── samples
│ ├── GradleDistributionSample.java
│ ├── LocalSample.java
│ ├── SampleProject.java
│ └── SampleProjectRegistry.java
│ ├── util
│ ├── ArgumentsCustomizerHelper.java
│ ├── ArgumentsParser.java
│ ├── ArrayEncoder.java
│ ├── Box.java
│ ├── BusyStatus.java
│ ├── ConsoleUtil.java
│ ├── Continuation.java
│ ├── Distributions.java
│ ├── DownloadManager.java
│ ├── ErrorHandler.java
│ ├── ExceptionUtil.java
│ ├── Gradle1792BugException.java
│ ├── GradleOpearionProgressMonitor.java
│ ├── GradleProjectIndex.java
│ ├── GradleProjectSorter.java
│ ├── GradleProjectUtil.java
│ ├── GradleRunnable.java
│ ├── HttpUtil.java
│ ├── IllegalClassPathEntryException.java
│ ├── JavaRuntimeUtils.java
│ ├── JobUtil.java
│ ├── Joinable.java
│ ├── JoinableContinuation.java
│ ├── NatureUtils.java
│ ├── NullJoinable.java
│ ├── ObjectUtil.java
│ ├── OsUtils.java
│ ├── ProjectTasksVisibility.java
│ ├── ResourceFilterFactory.java
│ ├── ResourceListEncoder.java
│ ├── RestrictedCapacityStack.java
│ ├── SystemOutAsProgress.java
│ ├── TimeUtils.java
│ ├── TopoSort.java
│ ├── WorkspaceUtil.java
│ ├── ZipFileUtil.java
│ └── expression
│ │ ├── LiveExpression.java
│ │ ├── LiveVariable.java
│ │ └── ValueListener.java
│ ├── validators
│ ├── CompositeValidator.java
│ ├── DistributionValidator.java
│ ├── DistributionValidatorContext.java
│ ├── JavaHomeValidator.java
│ ├── JavaHomeValidatorContext.java
│ ├── NewProjectLocationValidator.java
│ ├── ProjectNameValidator.java
│ ├── SampleProjectValidator.java
│ ├── ValidationResult.java
│ └── Validator.java
│ ├── wizards
│ ├── FlatPrecomputedProjectMapper.java
│ ├── GradleImportOperation.java
│ ├── HierarchicalProjectMapper.java
│ ├── NewGradleProjectOperation.java
│ └── PrecomputedProjectMapper.java
│ └── wtp
│ ├── DeploymentExclusions.java
│ ├── RegexpListDeploymentExclusions.java
│ └── WTPUtil.java
├── org.springsource.ide.eclipse.gradle.feature
├── .project
├── build.properties
├── feature.properties
├── feature.xml
├── license.txt
├── open_source_licenses.txt
└── pom.xml
├── org.springsource.ide.eclipse.gradle.site
├── .project
├── category.xml
└── pom.xml
├── org.springsource.ide.eclipse.gradle.toolingapi
├── .classpath
├── .project
├── .settings
│ ├── gradle
│ │ └── org.springsource.ide.eclipse.gradle.core.prefs
│ └── org.eclipse.jdt.core.prefs
├── META-INF
│ └── MANIFEST.MF
├── about.html
├── build.properties
├── embedded-libs.properties
├── lib
│ ├── .gitignore
│ └── README.txt
├── pom.xml
├── src
│ └── org
│ │ └── springsource
│ │ └── ide
│ │ └── eclipse
│ │ └── gradle
│ │ └── toolingapi
│ │ └── GradleToolingApi.java
└── toolingCustomModel
│ └── init.gradle
├── org.springsource.ide.eclipse.gradle.ui.taskview
├── .classpath
├── .project
├── .settings
│ ├── gradle
│ │ └── com.springsource.sts.gradle.core.prefs
│ └── org.eclipse.jdt.core.prefs
├── META-INF
│ └── MANIFEST.MF
├── about.html
├── build.properties
├── icons
│ ├── gradle-icon-16.png
│ └── sample.gif
├── plugin.xml
├── pom.xml
└── src
│ └── org
│ └── springsource
│ └── ide
│ └── eclipse
│ └── gradle
│ └── ui
│ └── taskview
│ ├── GradleTasksView.java
│ ├── GradleTasksViewPlugin.java
│ ├── ProjectSelector.java
│ ├── RefreshAction.java
│ ├── TaskLabelProvider.java
│ ├── TaskTreeContentProvider.java
│ ├── TasksConsoleAction.java
│ ├── ToggleHideInternalTasks.java
│ ├── ToggleLinkingAction.java
│ └── ToggleProjectTasks.java
├── org.springsource.ide.eclipse.gradle.ui
├── .classpath
├── .project
├── .settings
│ ├── gradle
│ │ └── com.springsource.sts.gradle.core.prefs
│ ├── org.eclipse.jdt.core.prefs
│ └── org.maven.ide.eclipse.prefs
├── META-INF
│ ├── MANIFEST.MF
│ └── p2.inf
├── about.html
├── build.properties
├── icons-sources
│ ├── fldr_obj.png
│ ├── folder.png
│ ├── gradle-import-wizban.svg
│ ├── gradle-import.svg
│ ├── gradle-launch.svg
│ ├── gradle-multiproj-folder-disabled.svg
│ ├── gradle-multiproj-folder.svg
│ ├── gradle-nature.svg
│ ├── gradle-proj-folder.svg
│ ├── gradle-project.svg
│ ├── new-gradle-project.svg
│ └── prj_obj.png
├── icons
│ ├── filter_internal_targets.png
│ ├── gradle-big-icon.png
│ ├── gradle-import-wizban.png
│ ├── gradle-import.png
│ ├── gradle-launch.png
│ ├── gradle-multiproj-folder-disabled.png
│ ├── gradle-multiproj-folder.png
│ ├── gradle-nature.png
│ ├── gradle-proj-folder.png
│ ├── run_tool.png
│ ├── targetinternal_obj.png
│ ├── targetloading.png
│ └── targetpublic_obj.png
├── plugin.xml
├── pom.xml
└── src
│ └── org
│ └── springsource
│ └── ide
│ └── eclipse
│ └── gradle
│ └── ui
│ ├── ArgumentsSection.java
│ ├── ArgumentsValidator.java
│ ├── ArgumentsValidatorContext.java
│ ├── DependencyManagementSection.java
│ ├── DistributionSection.java
│ ├── GradleArgumentsPreferencesPage.java
│ ├── GradlePreferencesPage.java
│ ├── GradleProjectPropertyPage.java
│ ├── GradleUI.java
│ ├── GradleUserHomeSection.java
│ ├── IPageWithSections.java
│ ├── JVMArgumentsSection.java
│ ├── JavaHomeSection.java
│ ├── JavaHomeSectionImpl.java
│ ├── PreferencePageWithSections.java
│ ├── PrefsPageSection.java
│ ├── ProgramArgumentsSection.java
│ ├── WTPPreferencesPage.java
│ ├── actions
│ ├── ConsoleInplaceDialogActionDelegate.java
│ ├── ConvertToGradleProjectActionDelegate.java
│ ├── DisableGradleNatureAction.java
│ ├── EnableDisableDependencyManagementActionDelegate.java
│ ├── GradleProjectActionDelegate.java
│ ├── RefreshAction.java
│ ├── RefreshAllAction.java
│ ├── RefreshAllHandler.java
│ ├── RefreshDependenciesAction.java
│ └── RefreshSourceFoldersAction.java
│ ├── cli
│ ├── editor
│ │ ├── TaskCompletionProposal.java
│ │ ├── TaskContentAssistantProcessor.java
│ │ ├── TaskInformationProvider.java
│ │ ├── TasksAnnotationModel.java
│ │ ├── TasksViewer.java
│ │ └── TasksViewerConfiguration.java
│ └── inplace
│ │ ├── ConsoleInplaceDialog.java
│ │ └── PopupTable.java
│ ├── launch
│ ├── ArgumentsLaunchTabSection.java
│ ├── GradleLaunchArgumentsTab.java
│ ├── GradleLaunchShortcut.java
│ ├── GradleLaunchTabGroup.java
│ ├── GradleLaunchTasksTab.java
│ ├── JVMArgumentsLaunchTabSection.java
│ ├── JavaHomeLaunchTabSection.java
│ ├── LaunchTabSection.java
│ ├── LaunchTabWithSections.java
│ └── ProgramArgumentsLaunchTabSection.java
│ ├── util
│ ├── DialogSettingsUtil.java
│ ├── GradleLabelProvider.java
│ ├── PageSection.java
│ ├── SelectionUtils.java
│ └── UIJobUtil.java
│ └── wizards
│ ├── ExistingGradleProjectFilter.java
│ ├── GradleImportWizard.java
│ ├── GradleImportWizardPageOne.java
│ ├── GradleProjectTreeContentProvider.java
│ ├── GradleProjectTreeLabelProvider.java
│ ├── GradleProjectTreeLabelProviderWithDescription.java
│ ├── NewGradleProjectWizard.java
│ ├── NewGradleProjectWizardPage.java
│ ├── NewProjectNameSection.java
│ ├── ProjectLocationSection.java
│ ├── SampleProjectSection.java
│ ├── TaskRunLine.java
│ ├── WizardPageSection.java
│ ├── WizardPageWithSections.java
│ └── WorkingSetGroup.java
├── pom.xml
└── toolingapi
├── .gitignore
├── .settings
└── gradle
│ ├── org.springsource.ide.eclipse.gradle.core.import.prefs
│ ├── org.springsource.ide.eclipse.gradle.core.prefs
│ └── org.springsource.ide.eclipse.gradle.refresh.prefs
├── build.gradle
├── gradle.properties
├── gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── integrationTests
├── .settings
│ └── gradle
│ │ ├── org.springsource.ide.eclipse.gradle.core.prefs
│ │ └── org.springsource.ide.eclipse.gradle.refresh.prefs
├── build.gradle
├── projects
│ ├── init.gradle
│ ├── multiproject-cycle
│ │ ├── a
│ │ │ └── build.gradle
│ │ ├── b
│ │ │ └── build.gradle
│ │ └── settings.gradle
│ ├── multiproject
│ │ ├── a
│ │ │ └── build.gradle
│ │ ├── b
│ │ │ └── build.gradle
│ │ ├── build.gradle
│ │ ├── minus
│ │ │ └── build.gradle
│ │ ├── plus
│ │ │ └── build.gradle
│ │ └── settings.gradle
│ └── pluginproject
│ │ └── build.gradle
└── src
│ └── test
│ └── java
│ └── StsEclipseProjectTest.java
├── model
├── .settings
│ └── gradle
│ │ ├── org.springsource.ide.eclipse.gradle.core.prefs
│ │ └── org.springsource.ide.eclipse.gradle.refresh.prefs
├── build.gradle
└── src
│ └── main
│ └── java
│ └── io
│ └── pivotal
│ └── tooling
│ └── model
│ └── eclipse
│ ├── StsEclipseProject.java
│ └── StsEclipseProjectDependency.java
├── plugin
├── .settings
│ └── gradle
│ │ ├── org.springsource.ide.eclipse.gradle.core.prefs
│ │ └── org.springsource.ide.eclipse.gradle.refresh.prefs
├── build.gradle
└── src
│ └── main
│ └── java
│ └── io
│ └── pivotal
│ └── tooling
│ └── plugin
│ └── eclipse
│ ├── DefaultStsEclipseExternalDependency.java
│ ├── DefaultStsEclipseProject.java
│ ├── DefaultStsEclipseProjectDependency.java
│ ├── EclipseToolingModelPlugin.java
│ ├── EclipseToolingModelPluginExtension.java
│ └── StsEclipseProjectModelBuilder.java
├── settings.gradle
└── updateLibs
├── .settings
└── gradle
│ ├── org.springsource.ide.eclipse.gradle.core.prefs
│ └── org.springsource.ide.eclipse.gradle.refresh.prefs
└── build.gradle
/.gitignore:
--------------------------------------------------------------------------------
1 | bin/
2 | .gradle
3 | *.class
4 | *.zip
5 | /org.springsource.ide.eclipse.gradle.updatesite/*.jar
6 | /org.springsource.ide.eclipse.gradle.updatesite/features/*.jar
7 | /org.springsource.ide.eclipse.gradle.updatesite/plugins/*.jar
8 | /*/target
9 | /target
10 | /org.springsource.ide.eclipse.gradle.core.test/resources/gitprojects
11 | **/hs_err_pid*.log
12 |
13 | /org.springsource.ide.eclipse.gradle.core/src/gradle-api.properties
14 | /org.springsource.ide.eclipse.gradle.core/gradle.out
15 | /README.html
16 | /org.springsource.ide.eclipse.gradle.toolingapi/gradle.out
17 |
--------------------------------------------------------------------------------
/.project:
--------------------------------------------------------------------------------
1 |
2 |
June 30, 2015
11 |The Gradle Integration for Eclipse project provides Eclipse integration 13 | support for Gradle.
14 |Pivotal Software, Inc. (“Pivotal”) makes available all content 16 | in this download ("Content"). Unless otherwise indicated below, the 17 | Content is provided to you under the terms and conditions of the Eclipse 18 | Public License Version 1.0 ("EPL"). A copy of the EPL is available in 19 | the file called license.txt. For purposes of the EPL, "Program" will 20 | mean the Content.
21 |The Content includes items that have been sourced from third parties, as 23 | set out in the file called open_source_licenses.txt, located in the 24 | feature components of this project.
25 | 26 | 27 | -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | resources/,\ 6 | plugin.xml 7 | -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/data/antLoadfileResources/bar.txt: -------------------------------------------------------------------------------- 1 | This is my bar! 2 | which is not quite foo! 3 | instead it is bar... 4 | but it also has text. -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/data/antLoadfileResources/foo.txt: -------------------------------------------------------------------------------- 1 | This my foo 2 | and it has some very foo-like 3 | text. -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/multiproject-m6/boink/Main.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012 Pivotal Software, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | * 8 | * Contributors: 9 | * Pivotal Software, Inc. - initial API and implementation 10 | *******************************************************************************/ 11 | public class Main { 12 | public static void main(String[] args) { 13 | System.out.println("Hello world!"); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/multiproject-m6/boink2/Spain.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012 Pivotal Software, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | * 8 | * Contributors: 9 | * Pivotal Software, Inc. - initial API and implementation 10 | *******************************************************************************/ 11 | public class Spain { 12 | public static void main(String[] args) { 13 | System.out.println("Hello Spain!"); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/multiproject-m6/build.gradle: -------------------------------------------------------------------------------- 1 | task wrapper(type: Wrapper) { 2 | gradleVersion = '1.0-milestone-6' 3 | } 4 | 5 | subprojects { 6 | apply plugin: 'java' 7 | apply plugin: 'eclipse' 8 | 9 | repositories { 10 | maven { url 'https://repo.maven.apache.org/maven2/' } 11 | } 12 | 13 | dependencies { 14 | testCompile 'junit:junit:4.8.2' 15 | } 16 | 17 | version = '1.0' 18 | 19 | jar { 20 | manifest.attributes provider: 'gradle' 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/multiproject-m6/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Jan 16 13:16:20 PST 2012 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://repo.gradle.org/gradle/distributions/gradle-1.0-milestone-6-bin.zip 7 | -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/multiproject-m6/settings.gradle: -------------------------------------------------------------------------------- 1 | 2 | include "subproject" 3 | -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/multiproject-m6/subproject/build.gradle: -------------------------------------------------------------------------------- 1 | sourceSets { 2 | main { 3 | java { 4 | srcDir '../boink' 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/multiproject/boink/Main.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012 Pivotal Software, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | * 8 | * Contributors: 9 | * Pivotal Software, Inc. - initial API and implementation 10 | *******************************************************************************/ 11 | public class Main { 12 | public static void main(String[] args) { 13 | System.out.println("Hello world!"); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/multiproject/boink2/Spain.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2012 Pivotal Software, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | * 8 | * Contributors: 9 | * Pivotal Software, Inc. - initial API and implementation 10 | *******************************************************************************/ 11 | public class Spain { 12 | public static void main(String[] args) { 13 | System.out.println("Hello Spain!"); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/multiproject/build.gradle: -------------------------------------------------------------------------------- 1 | subprojects { 2 | apply plugin: 'java' 3 | apply plugin: 'eclipse' 4 | 5 | repositories { 6 | mavenCentral() 7 | } 8 | 9 | dependencies { 10 | testCompile 'junit:junit:4.8.2' 11 | } 12 | 13 | version = '1.0' 14 | 15 | jar { 16 | manifest.attributes provider: 'gradle' 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/multiproject/settings.gradle: -------------------------------------------------------------------------------- 1 | 2 | include "subproject" 3 | -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/multiproject/subproject/build.gradle: -------------------------------------------------------------------------------- 1 | sourceSets { 2 | main { 3 | java { 4 | srcDir '../boink' 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/non-exported-deps/build.gradle: -------------------------------------------------------------------------------- 1 | subprojects { 2 | apply plugin: 'java' 3 | 4 | repositories { 5 | mavenCentral() 6 | } 7 | 8 | } 9 | 10 | 11 | project(":main") { 12 | dependencies { 13 | compile project(":lib") 14 | } 15 | } 16 | 17 | project(":lib") { 18 | dependencies { 19 | compile "commons-collections:commons-collections:3.2.1" 20 | } 21 | } -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/non-exported-deps/lib/src/main/java/org/test/lib/Hello.java: -------------------------------------------------------------------------------- 1 | package org.test.lib; 2 | 3 | public class Hello { 4 | 5 | public static void sayHello(String name) { 6 | System.out.println("Hello "+name); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/non-exported-deps/main/src/main/java/org/test/main/Main.java: -------------------------------------------------------------------------------- 1 | package org.test.main; 2 | 3 | import org.apache.commons.collections.buffer.CircularFifoBuffer; 4 | import org.test.lib.Hello; 5 | 6 | public class Main { 7 | 8 | public static void main(String[] args) { 9 | new CircularFifoBuffer(); 10 | Hello.sayHello("Kris"); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/non-exported-deps/settings.gradle: -------------------------------------------------------------------------------- 1 | include 'main' 2 | include 'lib' -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/oldWrapperFormat/build.gradle: -------------------------------------------------------------------------------- 1 | task wrapper(type: Wrapper) { 2 | gradleVersion = '1.0-milestone-2' 3 | } -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/oldWrapperFormat/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Oct 27 06:30:22 EDT 2010 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | distributionVersion=1.0-milestone-2 6 | zipStorePath=wrapper/dists 7 | urlRoot=https\://gradle.artifactoryonline.com/gradle/distributions 8 | distributionName=gradle 9 | distributionClassifier=bin 10 | -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/oldWrapperVersion/build.gradle: -------------------------------------------------------------------------------- 1 | task wrapper(type: Wrapper) { 2 | gradleVersion = '1.0-milestone-2' 3 | } -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/oldWrapperVersion/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Jun 06 14:51:52 PDT 2011 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://repo.gradle.org/gradle/distributions/gradle-1.0-milestone-2-bin.zip 7 | -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/quickstart-noeclipse/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'java' 2 | 3 | sourceCompatibility = 1.5 4 | version = '1.0' 5 | jar { 6 | manifest { 7 | attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version 8 | } 9 | } 10 | 11 | repositories { 12 | mavenCentral() 13 | } 14 | 15 | dependencies { 16 | compile group: 'commons-collections', name: 'commons-collections', version: '3.2' 17 | testCompile group: 'junit', name: 'junit', version: '4.+' 18 | } 19 | 20 | test { 21 | systemProperties 'property': 'value' 22 | } 23 | 24 | uploadArchives { 25 | repositories { 26 | flatDir { 27 | dirs 'repos' 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/quickstart-noeclipse/src/main/java/org/gradle/Person.java: -------------------------------------------------------------------------------- 1 | package org.gradle; 2 | 3 | import org.apache.commons.collections.list.GrowthList; 4 | 5 | public class Person { 6 | private final String name; 7 | 8 | public Person(String name) { 9 | this.name = name; 10 | new GrowthList(); 11 | } 12 | 13 | public String getName() { 14 | return name; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core.test/resources/projects/quickstart-noeclipse/src/main/resources/org/gradle/resource.xml: -------------------------------------------------------------------------------- 1 |June 30, 2015
11 |The Gradle Integration for Eclipse project provides Eclipse integration 13 | support for Gradle.
14 |Pivotal Software, Inc. (“Pivotal”) makes available all content 16 | in this download ("Content"). Unless otherwise indicated below, the 17 | Content is provided to you under the terms and conditions of the Eclipse 18 | Public License Version 1.0 ("EPL"). A copy of the EPL is available in 19 | the file called license.txt. For purposes of the EPL, "Program" will 20 | mean the Content.
21 |The Content includes items that have been sourced from third parties, as 23 | set out in the file called open_source_licenses.txt, located in the 24 | feature components of this project.
25 | 26 | 27 | -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | plugin.xml,\ 6 | about.html,\ 7 | samples/ 8 | jars.extra.classpath = platform:/plugin/org.codehaus.groovy,\ 9 | platform:/plugin/org.eclipse.jdt.groovy.core 10 | 11 | -------------------------------------------------------------------------------- /org.springsource.ide.eclipse.gradle.core/pom.xml: -------------------------------------------------------------------------------- 1 | 2 |
19 | * This is because Kris often forgets to disable debugging code when committing code into the git repo.
20 | *
21 | * @author Kris De Volder
22 | */
23 | public class Debug {
24 |
25 | public static final boolean TRUE = Platform.getLocation()!=null && Platform.getLocation().toString().contains("/kdvolder/");
26 | public static final boolean FALSE = false;
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/org.springsource.ide.eclipse.gradle.core/src/org/springsource/ide/eclipse/gradle/core/DefaultProjectMapper.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2012 Pivotal Software, Inc.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v1.0
5 | * which accompanies this distribution, and is available at
6 | * https://www.eclipse.org/legal/epl-v10.html
7 | *
8 | * Contributors:
9 | * Pivotal Software, Inc. - initial API and implementation
10 | *******************************************************************************/
11 | package org.springsource.ide.eclipse.gradle.core;
12 |
13 | import org.eclipse.core.resources.IProject;
14 | import org.eclipse.core.resources.ResourcesPlugin;
15 | import org.gradle.tooling.model.eclipse.HierarchicalEclipseProject;
16 | import org.springsource.ide.eclipse.gradle.core.wizards.GradleImportOperation;
17 |
18 |
19 | /**
20 | * Suitable base implementation for IProjectMapper, it returns a project instance based on the default
21 | * project naming scheme of {@link GradleImportOperation}
22 | *
23 | * @author Kris De Volder
24 | */
25 | public class DefaultProjectMapper implements IProjectMapper {
26 |
27 | public IProject get(HierarchicalEclipseProject target) {
28 | String name = GradleImportOperation.getDefaultEclipseName(target);
29 | return ResourcesPlugin.getWorkspace().getRoot().getProject(name);
30 | }
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/org.springsource.ide.eclipse.gradle.core/src/org/springsource/ide/eclipse/gradle/core/IProjectMapper.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2012 Pivotal Software, Inc.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v1.0
5 | * which accompanies this distribution, and is available at
6 | * https://www.eclipse.org/legal/epl-v10.html
7 | *
8 | * Contributors:
9 | * Pivotal Software, Inc. - initial API and implementation
10 | *******************************************************************************/
11 | package org.springsource.ide.eclipse.gradle.core;
12 |
13 | import org.eclipse.core.resources.IProject;
14 | import org.gradle.tooling.model.eclipse.HierarchicalEclipseProject;
15 |
16 | /**
17 | * Maps external project instances to internal ones. This is necessary when creating project dependencies.
18 | *
19 | * @author Kris De Volder
20 | */
21 | public interface IProjectMapper {
22 |
23 | /**
24 | * Returns an IProject instance associated with a given Gradle project model, according to some lookup mechanism or
25 | * naming scheme. Some concrete implementations of this may return null if there is no suitable mapping. Others may
26 | * return projects that do not actually exist in the workspace.
27 | */
28 | IProject get(HierarchicalEclipseProject target);
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/org.springsource.ide.eclipse.gradle.core/src/org/springsource/ide/eclipse/gradle/core/InconsistenProjectHierarchyException.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2012 Pivotal Software, Inc.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v1.0
5 | * which accompanies this distribution, and is available at
6 | * https://www.eclipse.org/legal/epl-v10.html
7 | *
8 | * Contributors:
9 | * Pivotal Software, Inc. - initial API and implementation
10 | *******************************************************************************/
11 | package org.springsource.ide.eclipse.gradle.core;
12 |
13 | import org.eclipse.core.runtime.CoreException;
14 | import org.eclipse.core.runtime.IStatus;
15 |
16 | /**
17 | * This exception is thrown when Gradle tooling detects that projects in the workspace
18 | * no longer are associated with a root project. This may happen if a Gradle project
19 | * hierarchy is changed after the projects where imported.
20 | *
21 | * @author Kris De Volder
22 | */
23 | public class InconsistenProjectHierarchyException extends CoreException {
24 |
25 | public InconsistenProjectHierarchyException(IStatus status) {
26 | super(status);
27 | }
28 |
29 | private static final long serialVersionUID = 1L;
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/org.springsource.ide.eclipse.gradle.core/src/org/springsource/ide/eclipse/gradle/core/ProjectConfigurationRequest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2014 Pivotal Software, Inc.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v1.0
5 | * which accompanies this distribution, and is available at
6 | * https://www.eclipse.org/legal/epl-v10.html
7 | *
8 | * Contributors:
9 | * Pivotal Software, Inc. - initial API and implementation
10 | *******************************************************************************/
11 | package org.springsource.ide.eclipse.gradle.core;
12 |
13 | import org.eclipse.core.resources.IProject;
14 | import org.gradle.tooling.model.eclipse.EclipseProject;
15 | import org.springsource.ide.eclipse.gradle.core.api.IProjectConfigurationRequest;
16 |
17 | /**
18 | * Implementation of a common project configuration request.
19 | *
20 | * @author Alex Boyko
21 | *
22 | */
23 | public class ProjectConfigurationRequest implements
24 | IProjectConfigurationRequest {
25 |
26 | private EclipseProject gradleProject;
27 | private IProject project;
28 |
29 | public ProjectConfigurationRequest(EclipseProject gradleProject, IProject project) {
30 | super();
31 | this.gradleProject = gradleProject;
32 | this.project = project;
33 | }
34 |
35 | public EclipseProject getGradleModel() {
36 | return gradleProject;
37 | }
38 |
39 | public IProject getProject() {
40 | return project;
41 | }
42 |
43 | }
44 |
--------------------------------------------------------------------------------
/org.springsource.ide.eclipse.gradle.core/src/org/springsource/ide/eclipse/gradle/core/ProjectOpenCloseListener.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2014 Pivotal Software, Inc.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v1.0
5 | * which accompanies this distribution, and is available at
6 | * https://www.eclipse.org/legal/epl-v10.html
7 | *
8 | * Contributors:
9 | * Pivotal Software, Inc. - initial API and implementation
10 | *******************************************************************************/
11 | package org.springsource.ide.eclipse.gradle.core;
12 |
13 | import org.eclipse.core.resources.IProject;
14 |
15 | /**
16 | * @author Kris De Volder
17 | */
18 | public interface ProjectOpenCloseListener {
19 | void projectOpened(IProject project);
20 | void projectClosed(IProject project);
21 | }
22 |
--------------------------------------------------------------------------------
/org.springsource.ide.eclipse.gradle.core/src/org/springsource/ide/eclipse/gradle/core/SystemPropertyCleaner.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2014 Pivotal Software, Inc.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v1.0
5 | * which accompanies this distribution, and is available at
6 | * https://www.eclipse.org/legal/epl-v10.html
7 | *
8 | * Contributors:
9 | * Pivotal Software, Inc. - initial API and implementation
10 | *******************************************************************************/
11 | package org.springsource.ide.eclipse.gradle.core;
12 |
13 | import java.util.Iterator;
14 | import java.util.Map.Entry;
15 | import java.util.Properties;
16 |
17 | /**
18 | * Workaround for bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=445122
19 | */
20 | public class SystemPropertyCleaner {
21 |
22 | public static void clean() {
23 | Properties props = System.getProperties();
24 | Iterator