Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for withClassJar (0.19 sec)

  1. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinDslJvmTargetIntegrationTest.kt

    import org.junit.Test
    
    
    class KotlinDslJvmTargetIntegrationTest : AbstractKotlinIntegrationTest() {
    
        @Test
        fun `scripts are compiled using the build jvm target`() {
    
            withClassJar("utils.jar", JavaClassUtil::class.java)
    
            withBuildScript("""
                buildscript {
                    dependencies {
                        classpath(files("utils.jar"))
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 08:31:21 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. testing/soak/src/integTest/kotlin/org/gradle/kotlin/dsl/caching/ScriptCachingIntegrationTest.kt

                }
            }
        }
    
        @Test
        fun `same script & target type different classpath`() {
    
            // given: different classpath
            withClassJar("left/fixture.jar")
            withClassJar("right/fixture.jar", DeepThought::class.java)
    
            // and: same script & target type
            val sameContent = """
                buildscript {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:33:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top