- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for locateViaClass (0.12 sec)
-
platforms/core-runtime/build-process-services/src/main/java/org/gradle/internal/installation/CurrentGradleInstallationLocator.java
} catch (ClassNotFoundException e) { clazz = CurrentGradleInstallationLocator.class; } return locateViaClass(clazz); } static CurrentGradleInstallation locateViaClass(Class<?> clazz) { File dir = findDistDir(clazz); if (dir == null) { return new CurrentGradleInstallation(null); } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/internal/installation/CurrentGradleInstallationLocatorTest.groovy
def jar = distDir.file("$jarDirectory/mydep-1.2.jar") createJarFile(jar) when: def clazz = loadClassFromJar(jar) def installation = CurrentGradleInstallationLocator.locateViaClass(clazz).getInstallation() then: installation.gradleHome == distDir installation.libDirs == [new File(distDir, 'lib'), new File(distDir, 'lib/plugins')] where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 3.9K bytes - Viewed (0)