- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GroovyJarFile (0.29 sec)
-
platforms/jvm/plugins-groovy/src/main/java/org/gradle/api/internal/plugins/GroovyJarFile.java
import static org.gradle.util.internal.GroovyDependencyUtil.groovyModuleDependency; public class GroovyJarFile { private static final Pattern FILE_NAME_PATTERN = Pattern.compile("(groovy(?:-all)?)-(\\d.*?)(-indy)?.jar"); private final File file; private final Matcher matcher; private GroovyJarFile(File file, Matcher matcher) { this.file = file; this.matcher = matcher; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 19:14:26 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/jvm/plugins-groovy/src/test/groovy/org/gradle/api/internal/plugins/GroovyJarFileTest.groovy
def "parse non-Groovy file"() { expect: GroovyJarFile.parse(new File("groovy-other-2.0.5.jar")) == null GroovyJarFile.parse(new File("groovy-2.0.5.zip")) == null } def "parse 'groovy' Jar"(String fileName, String version, String dependencyNotation) { def jar = GroovyJarFile.parse(new File("$fileName")) expect: jar != null
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 19 20:09:54 UTC 2024 - 4.5K bytes - Viewed (0) -
platforms/jvm/plugins-groovy/src/main/java/org/gradle/api/tasks/GroovyRuntime.java
.map(libName -> libName + "-" + groovyVersion + ".jar") .collect(toSet()); } @Nullable private static GroovyJarFile findGroovyJarFile(Iterable<File> classpath) { for (File file : classpath) { GroovyJarFile groovyJar = GroovyJarFile.parse(file); if (groovyJar != null) { return groovyJar; } } return null; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 12 18:44:49 UTC 2023 - 9.4K bytes - Viewed (0)