Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for intTestImplementation (0.19 sec)

  1. platforms/documentation/docs/src/snippets/java/basic/groovy/build.gradle

            compileClasspath += sourceSets.main.output
            runtimeClasspath += sourceSets.main.output
        }
    }
    
    configurations {
        intTestImplementation.extendsFrom implementation
        intTestRuntimeOnly.extendsFrom runtimeOnly
    }
    
    dependencies {
        intTestImplementation 'org.junit.jupiter:junit-jupiter:5.7.1'
        intTestRuntimeOnly 'org.junit.platform:junit-platform-launcher'
    }
    // end::practical-integ-test-source-set[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/java/sourceSets/kotlin/build.gradle.kts

    plugins {
        java
    }
    
    repositories {
        mavenCentral()
    }
    
    sourceSets {
        create("intTest")
    }
    
    dependencies {
        "intTestImplementation"("junit:junit:4.13")
        "intTestRuntimeOnly"("org.ow2.asm:asm:7.1")
    }
    
    // tag::jar[]
    tasks.register<Jar>("intTestJar") {
        from(sourceSets["intTest"].output)
    }
    // end::jar[]
    
    // tag::javadoc[]
    tasks.register<Javadoc>("intTestJavadoc") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 789 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/java/basic/kotlin/build.gradle.kts

            runtimeClasspath += sourceSets.main.get().output
        }
    }
    
    val intTestImplementation by configurations.getting {
        extendsFrom(configurations.implementation.get())
    }
    val intTestRuntimeOnly by configurations.getting
    
    configurations["intTestRuntimeOnly"].extendsFrom(configurations.runtimeOnly.get())
    
    dependencies {
        intTestImplementation("org.junit.jupiter:junit-jupiter:5.7.1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/java/sourceSets/groovy/build.gradle

    plugins {
        id 'java'
    }
    
    repositories {
        mavenCentral()
    }
    sourceSets {
        intTest
    }
    
    dependencies {
        intTestImplementation 'junit:junit:4.13'
        intTestRuntimeOnly 'org.ow2.asm:asm:7.1'
    }
    
    // tag::jar[]
    tasks.register('intTestJar', Jar) {
        from sourceSets.intTest.output
    }
    // end::jar[]
    
    // tag::javadoc[]
    tasks.register('intTestJavadoc', Javadoc) {
        source sourceSets.intTest.allJava
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 758 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/jvm/java_testing.adoc

    include::sample[dir="snippets/java/basic/groovy",files="build.gradle[tags=practical-integ-test-source-set]"]
    ====
    
    This will set up a new source set called `intTest` that automatically creates:
    
     * `intTestImplementation`, `intTestCompileOnly`, `intTestRuntimeOnly` configurations (and <<java_plugin.adoc#java_source_set_configurations, a few others>> that are less commonly needed)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 53.1K bytes
    - Viewed (0)
Back to top