- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 246 for buildScript (0.14 sec)
-
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/TopLevelBlockExtractionTest.kt
} @Test fun `given line commented buildscript it returns null`() { assertNoBuildscript("// no buildscript {} here") } @Test fun `given block commented buildscript it returns null`() { assertNoBuildscript("/* /* no */ buildscript {} here either */") } @Test fun `given more than one top level buildscript block it throws UnexpectedDuplicateBlock`() { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/ParserToCompilerTest.kt
) } @Test fun `buildscript then plugins`() { val source = ProgramSource( "settings.gradle.kts", """ buildscript { println("stage 1 buildscript") } plugins { println("stage 1 plugins") } """.trimIndent() ) assertStageOneOutput( source, "stage 1 buildscript\nstage 1 plugins\n" ) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/ProgramParserTest.kt
assertEmptyProgram("initscript {}", programTarget = ProgramTarget.Gradle) assertEmptyProgram("buildscript {}") assertEmptyProgram("plugins {}") assertEmptyProgram("buildscript {}\r\nplugins {}") assertEmptyProgram(" /* before */buildscript { /* within */ }/* after */ ") } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 8.1K bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/scaladoc/ScalaDocIntegrationTest.groovy
this.classes.scalaVersion = newScalaVersion buildScript(this.classes.buildScript()) succeeds scaladoc then: executedAndNotSkipped scaladoc } def "scaladoc is loaded from cache"() { classes.baseline() buildScript(classes.buildScript()) when: withBuildCache().run scaladoc then: executedAndNotSkipped scaladoc
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 6.7K bytes - Viewed (0) -
platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/NonDeclarativePluginUseIntegrationSpec.groovy
} publishPlugin("").dependsOn(GROUP, ARTIFACT + "2", VERSION).publishPom() when: buildScript """ buildscript { dependencies { classpath "$GROUP:${ARTIFACT + 2}:$VERSION" } repositories { maven { url "$pluginRepo.uri" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/SamplesToolingApiIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Program.kt
package org.gradle.kotlin.dsl.execution /** * A source Kotlin DSL program can be: * - empty * - a single buildscript block * - a single plugins block * - a buildscript block followed by a plugins block * - a script with neither a buildscript nor a plugins block * - a script preceded by a buildscript or plugins block or both * * The evaluation of a Kotlin DSL program happens, in the general case, in
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/SettingsDslIntegrationSpec.groovy
42 } """ settingsFile << """ buildscript { extensions["aValue"] = "hello" assert extensions["aValue"] == "hello" : "Can access inside buildscript" } assert extensions["aValue"] == "hello" : "Can access outside buildscript" apply from: '$answerFile'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 15:15:27 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/LexerTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.kotlin.dsl.execution import org.gradle.kotlin.dsl.execution.TopLevelBlockId.buildscript import org.gradle.kotlin.dsl.execution.TopLevelBlockId.plugins import org.hamcrest.CoreMatchers.equalTo import org.hamcrest.MatcherAssert.assertThat import org.junit.Test class LexerTest {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 4.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/ExternalScriptExecutionIntegrationTest.groovy
assert buildscript.classLoader == getClass().classLoader.parent assert buildscript.classLoader == Thread.currentThread().contextClassLoader assert project.buildscript.classLoader != buildscript.classLoader Gradle.class.classLoader.loadClass('${implClassName}') try { buildscript.classLoader.loadClass('${implClassName}') assert false: 'should fail' } catch (ClassNotFoundException e) { // expected } finally {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 6.5K bytes - Viewed (0)