Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 160 for runtimeOnly (0.32 sec)

  1. platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/integtests/resolve/consistency/JavaProjectResolutionConsistencyIntegrationTest.groovy

            def transitive11 = mavenHttpRepo.module('org', 'transitive', '1.1').publish()
            buildFile << """
                dependencies {
                    implementation 'org:foo:1.0'
                    runtimeOnly 'org:bar:1.0'
                    testImplementation 'org:baz:1.0'
                }
            """
            def resolve = resolveClasspath 'runtime'
    
            when:
            foo.pom.expectGet()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  2. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/idea/IdeaIntegrationTest/canCreateAndDeleteMetaData/api/build.gradle

    dependencies {
        runtimeOnly 'commons-collections:commons-collections:3.2.2@jar'
    }
    
    cleanIdea.doLast {
        assert !file("api/api.iml").isFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 148 bytes
    - Viewed (0)
  3. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest/canCreateAndDeleteMetaData/common/build.gradle

    apply plugin: 'java'
    
    java.sourceCompatibility = 1.6
    
    configurations {
        provided
        compile.extendsFrom provided
    }
    
    dependencies {
        provided 'log4j:log4j:1.2.17'
        implementation project(':api')
        runtimeOnly 'joda-time:joda-time:2.5'
        testImplementation 'junit:junit:4.13'
    }
    
    eclipse {
        pathVariables GRADLE_USER_HOME: file("${gradle.gradleUserHomeDir}/caches")
    
        wtp {
            component {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 488 bytes
    - Viewed (0)
  4. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpIntegrationTest.groovy

    apply plugin: "war"
    
    repositories {
        maven { url "${repoDir.toURI()}" }
    }
    
    dependencies {
        implementation project(":java1")
        implementation project(":groovy")
        runtimeOnly "mygroup:myartifact:$myArtifactVersion"
    }
            """
    
            def java1BuildFile = getFile(project: "java1", "build.gradle")
            createJavaSourceDirs(java1BuildFile)
    
            java1BuildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest/canCreateAndDeleteMetaData/webAppWithVars/build.gradle

    apply plugin: 'war'
    
    dependencies {
        runtimeOnly "commons-lang:commons-lang:2.5"
        testImplementation 'junit:junit:4.7'
    }
    
    eclipse {
        pathVariables GRADLE_USER_HOME: file("${gradle.gradleUserHomeDir}/caches")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 219 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/java-feature-variant/requiring-features/groovy/consumer/build.gradle

        mavenCentral()
    }
    
    // tag::consumer[]
    dependencies {
        // This project requires the main producer component
        implementation(project(":producer"))
    
        // But we also want to use its MySQL support
        runtimeOnly(project(":producer")) {
            capabilities {
                requireCapability("org.gradle.demo:producer-mysql-support")
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 426 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/toolingApi/eclipse/groovy/build.gradle

    repositories {
        maven { url 'https://repo.gradle.org/gradle/libs-releases' }
    }
    
    dependencies {
        implementation "org.gradle:gradle-tooling-api:${toolingApiVersion}"
        // Need an SLF4J implementation at runtime
        runtimeOnly 'org.slf4j:slf4j-simple:1.7.10'
    }
    
    application {
        mainClass = 'org.gradle.sample.Main'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 419 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/multiproject/dependencies-outgoingArtifact/kotlin/consumer/build.gradle.kts

    plugins {
        id("java-library")
    }
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        testImplementation("junit:junit:4.13")
    }
    
    // tag::producer-project-dependency[]
    dependencies {
        runtimeOnly(project(":producer"))
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 265 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/multiproject/dependencies-outgoingArtifact/groovy/consumer/build.gradle

    plugins {
        id 'java-library'
    }
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        testImplementation 'junit:junit:4.13'
    }
    
    // tag::producer-project-dependency[]
    dependencies {
        runtimeOnly project(':producer')
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 262 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/kotlinDsl/configurations-and-dependencies-declarative/kotlin/build.gradle.kts

    plugins {
        `java-library`
    }
    dependencies {
        implementation("com.example:lib:1.1")
        runtimeOnly("com.example:runtime:1.0")
        testImplementation("com.example:test-support:1.3") {
            exclude(module = "junit")
        }
        testRuntimeOnly("com.example:test-junit-jupiter-runtime:1.3")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 296 bytes
    - Viewed (0)
Back to top