- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 44 for withPluginClasspath (0.34 sec)
-
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerConventionalPluginClasspathInjectionEndUserIntegrationTest.groovy
when: def result = GradleRunner.create() .withProjectDir(testProjectDir) .withArguments('helloWorld') .withPluginClasspath() .withDebug($debug) .build() then: noExceptionThrown() } } """ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 4.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt
) } protected fun run(vararg args: String) = GradleRunner.create() .withProjectDir(projectDir) .withTestKitDir(projectDir.resolve("test-kit")) .withPluginClasspath() .forwardOutput() .withArguments(*args) protected fun assertChangesProperlyOrdered() { val result = run(":verifyAcceptedApiChangesOrdering").build()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
val inputBuildDir = setupRunBinaryCompatibility(v1, v2) val runner = GradleRunner.create() .withProjectDir(inputBuildDir) .withPluginClasspath() .withArguments(":binary-compatibility:checkBinaryCompatibility", "-s") val (buildResult, failure) = try { runner.build()!! to null } catch (ex: UnexpectedBuildFailure) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 16.4K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/DefaultGradleRunner.java
return classpath.getAsFiles(); } @Override public GradleRunner withPluginClasspath() { this.classpath = DefaultClassPath.of(PluginUnderTestMetadataReading.readImplementationClasspath()); return this; } @Override public GradleRunner withPluginClasspath(Iterable<? extends File> classpath) { List<File> f = new ArrayList<>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 20 10:14:55 UTC 2024 - 15.5K bytes - Viewed (0) -
testing/public-api-tests/src/integTest/groovy/org/gradle/api/PublicApiIntegrationTest.groovy
BuildResult result = GradleRunner.create() .withProjectDir(testProjectDir) .withArguments("customTask") .withPluginClasspath() .build(); assertTrue(result.getOutput().contains("Hello from plugin")); assertTrue(result.getOutput().contains("Hello from custom task"));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 08:43:08 UTC 2024 - 8.8K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy
} } private GradleRunner run(String... args) { return GradleRunner.create() .withProjectDir(projectDir) .withPluginClasspath() .withArguments(args) .forwardOutput() } private void assertNoDeadLinks() { assert linkErrors.exists()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 28 22:01:54 UTC 2022 - 7.8K bytes - Viewed (0) -
build-logic/packaging/src/test/kotlin/gradlebuild/packaging/GradleDistributionInstallTest.kt
assertTargetIsPreserved() } private fun runner() = GradleRunner.create() .withProjectDir(projectRoot) .withPluginClasspath() .forwardOutput() .withArguments("install", "-Pgradle_installPath=$target") private fun assertSucceeds() { runner().build() assertEquals( marker,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:26 UTC 2023 - 7.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/NativeServicesIntegrationTest.groovy
\""" when: def result = GradleRunner.create() .forwardOutput() .withPluginClasspath() .withArguments("help") .withProjectDir(projectDir) .build() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 05:18:22 UTC 2024 - 10.9K bytes - Viewed (0) -
build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt
) } private fun run(vararg args: String) = GradleRunner.create() .withProjectDir(projectDir) .withTestKitDir(projectDir.resolve("test-kit")) .withPluginClasspath() .forwardOutput() .withArguments(*args) private fun assertArchivedFilesSeen(vararg archiveFileNames: String) { val rootDirFiles = projectDir.resolve("build").walk().toList()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 14 12:35:52 UTC 2023 - 10.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/dsl/KotlinDslPluginTest.kt
.withTestKitDir(File("${executer.gradleUserHomeDir.normalisedPath}")) .withProjectDir(projectRoot) .withPluginClasspath() .forwardOutput() // when: val result = runner.withArguments("help").build() // then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 30 11:39:02 UTC 2023 - 11.2K bytes - Viewed (0)