- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for InitScriptFinder (0.4 sec)
-
subprojects/core-api/src/main/java/org/gradle/initialization/InitScriptFinder.java
*/ package org.gradle.initialization; import java.io.File; import java.util.Collection; /** * Interface for objects that can find init scripts for a given build. */ public interface InitScriptFinder { void findScripts(Collection<File> scripts);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 06 18:37:54 UTC 2018 - 868 bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/initialization/CompositeInitScriptFinder.java
import java.util.List; public class CompositeInitScriptFinder implements InitScriptFinder { private final List<InitScriptFinder> finders; public CompositeInitScriptFinder(InitScriptFinder...finders) { this.finders = Arrays.asList(finders); } @Override public void findScripts(Collection<File> scripts) { for (InitScriptFinder finder : finders) { finder.findScripts(scripts); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 10:39:11 UTC 2019 - 1.1K bytes - Viewed (0) -
subprojects/core-api/src/test/groovy/org/gradle/initialization/CompositeInitScriptFinderTest.groovy
* limitations under the License. */ package org.gradle.initialization import spock.lang.Specification class CompositeInitScriptFinderTest extends Specification { final InitScriptFinder target1 = Mock() final InitScriptFinder target2 = Mock() final CompositeInitScriptFinder finder = new CompositeInitScriptFinder(target1, target2) def "collects up scripts from all finders"() { def result = []
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 15 16:06:48 UTC 2017 - 1.1K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/initialization/UserHomeInitScriptFinder.java
* limitations under the License. */ package org.gradle.initialization; import java.io.File; import java.util.Collection; public class UserHomeInitScriptFinder extends DirectoryInitScriptFinder implements InitScriptFinder { private final File userHomeDir; public UserHomeInitScriptFinder(File userHomeDir) { this.userHomeDir = userHomeDir; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 10:39:11 UTC 2019 - 1.2K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/initialization/DistributionInitScriptFinder.java
* limitations under the License. */ package org.gradle.initialization; import java.io.File; import java.util.Collection; /** * An {@link InitScriptFinder} that includes every *.gradle file in $gradleHome/init.d. */ public class DistributionInitScriptFinder extends DirectoryInitScriptFinder { final File gradleHome;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 10:39:11 UTC 2019 - 1.2K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/initialization/DirectoryInitScriptFinder.java
import javax.annotation.Nullable; import java.io.File; import java.util.Collection; import java.util.Collections; import java.util.List; public abstract class DirectoryInitScriptFinder implements InitScriptFinder { protected void findScriptsInDir(File initScriptsDir, Collection<File> scripts) { if (!initScriptsDir.isDirectory()) { return; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 11 12:55:11 UTC 2021 - 1.6K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/StartParameter.java
*/ public List<File> getAllInitScripts() { CompositeInitScriptFinder initScriptFinder = new CompositeInitScriptFinder( new UserHomeInitScriptFinder(getGradleUserHomeDir()), new DistributionInitScriptFinder(gradleHomeDir) ); List<File> scripts = new ArrayList<>(getInitScripts()); initScriptFinder.findScripts(scripts); return Collections.unmodifiableList(scripts); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 06:24:50 UTC 2024 - 33.9K bytes - Viewed (0)