Back to project page m2e-android.
The source code is released under:
Eclipse Public License - v 1.0 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECI...
If you think the Android project m2e-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package me.gladwell.eclipse.m2e.android.configuration.classpath; // w ww . java2s .com import java.util.ArrayList; import java.util.Collections; import java.util.List; import com.google.inject.AbstractModule; import com.google.inject.Provides; public class ClasspathModule extends AbstractModule { @Override protected void configure() { bind(PersistNonRuntimeClasspathConfigurer.class); bind(AddNonRuntimeClasspathContainerConfigurer.class); bind(RemoveNonRuntimeProjectsConfigurer.class); } @Provides List<RawClasspathConfigurer> provideRawClasspathConfigurers(PersistNonRuntimeClasspathConfigurer persistConfigurer, RemoveNonRuntimeProjectsConfigurer removeProjectsConfigurer) { final List<RawClasspathConfigurer> rawClasspathConfigurers = new ArrayList<RawClasspathConfigurer>(); rawClasspathConfigurers.add(persistConfigurer); rawClasspathConfigurers.add(new RemoveNonRuntimeDependenciesConfigurer()); rawClasspathConfigurers.add(removeProjectsConfigurer); return Collections.unmodifiableList(rawClasspathConfigurers); } @Provides List<ClasspathConfigurer> provideClasspathConfigurers(final AddNonRuntimeClasspathContainerConfigurer configurer) { final List<ClasspathConfigurer> classpathConfigurers = new ArrayList<ClasspathConfigurer>(); classpathConfigurers.add(configurer); classpathConfigurers.add(new AddGenFolderClasspathConfigurer()); classpathConfigurers.add(new ModifySourceFolderOutputClasspathConfigurer()); classpathConfigurers.add(new RemoveJREClasspathContainerConfigurer()); classpathConfigurers.add(new MarkMavenClasspathContianerExportedConfigurer()); classpathConfigurers.add(new MarkAndroidClasspathContainerNotExportedConfigurer()); classpathConfigurers.add(new IgnoreOptionalWarningsConfigurer()); return Collections.unmodifiableList(classpathConfigurers); } }