Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 22 for compileOnly (0.1 seconds)

  1. build-logic-commons/gradle-plugin/build.gradle.kts

    plugins {
        `kotlin-dsl`
    }
    
    group = "gradlebuild"
    
    description = "Provides plugins used to create a Gradle plugin with Groovy or Kotlin DSL within build-logic builds"
    
    dependencies {
        compileOnly(buildLibs.develocityPlugin)
    
        api(platform(projects.buildPlatform))
    
        implementation(projects.basics)
        implementation(projects.moduleIdentity)
    
        implementation(buildLibs.errorPronePlugin)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 09:06:26 GMT 2026
    - 768 bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/build.gradle.kts

        implementation(buildLibs.guava)
        implementation(buildLibs.javaAssist)
        implementation(buildLibs.kotlinMetadata)
        implementation(buildLibs.jspecify)
        implementation(libs.asm)
        compileOnly(buildLibs.kotlinCompilerEmbeddable)
    
        testImplementation(buildLibs.jsoup)
        testImplementation(testLibs.junit5JupiterEngine)
    }
    
    tasks.compileGroovy.configure {
        classpath += files(tasks.compileKotlin)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 09:06:26 GMT 2026
    - 927 bytes
    - Click Count (0)
  3. build-logic-commons/basics/build.gradle.kts

        }
        implementation(libs.asm) {
            because("Used by class analysis")
        }
        implementation(libs.asmCommons) {
            because("Used by class analysis")
        }
    
        compileOnly(buildLibs.kotlinCompilerEmbeddable) {
            because("Required by KotlinSourceParser")
        }
        implementation(buildLibs.kgp) {
            because("For manually defined KotlinSourceSet accessor - sourceSets.main.get().kotlin")
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 09:06:26 GMT 2026
    - 903 bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalPluginBuildPlugin.java

            // own project dependencies for internal builds
            // TODO remove once we removed default dependencies from PluginBuildPlugin
            project.getConfigurations().getByName("compileOnly").getDependencies().clear();
            project.getConfigurations().getByName("testImplementation").getDependencies().clear();
    
            project.getPluginManager().apply(RestTestBasePlugin.class);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 5K bytes
    - Click Count (0)
  5. build-conventions/build.gradle

        gradlePluginPortal()
    }
    
    dependencies {
        api 'org.apache.maven:maven-model:3.6.2'
        api 'gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0'
        api 'org.apache.rat:apache-rat:0.11'
        compileOnly "com.puppycrawl.tools:checkstyle:8.42"
    }
    
    project.getPlugins().withType(JavaBasePlugin.class) {
        java.getModularity().getInferModulePath().set(false);
        eclipse.getClasspath().getFile().whenMerged { classpath ->
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 01 09:43:51 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchJavaPlugin.java

            configureJarManifest(project);
            configureJavadoc(project);
            testCompileOnlyDeps(project);
        }
    
        private static void testCompileOnlyDeps(Project project) {
            // we want to test compileOnly deps!
            Configuration compileOnlyConfig = project.getConfigurations().getByName(JavaPlugin.COMPILE_ONLY_CONFIGURATION_NAME);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 16:04:42 GMT 2021
    - 7.3K bytes
    - Click Count (0)
  7. build-tools-internal/build.gradle

      api 'org.ow2.asm:asm:9.0'
      api 'org.ow2.asm:asm-tree:9.0'
      api "org.apache.httpcomponents:httpclient:${props.getProperty('httpclient')}"
      api "org.apache.httpcomponents:httpcore:${props.getProperty('httpcore')}"
      compileOnly "com.puppycrawl.tools:checkstyle:${props.getProperty('checkstyle')}"
      runtimeOnly "org.elasticsearch.gradle:reaper:$version"
      testImplementation "com.puppycrawl.tools:checkstyle:${props.getProperty('checkstyle')}"
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 18:10:22 GMT 2021
    - 11.3K bytes
    - Click Count (0)
  8. okhttp-tls/build.gradle.kts

      "Bundle-SymbolicName: com.squareup.okhttp3.tls",
    )
    
    project.applyJavaModules("okhttp3.tls")
    
    dependencies {
      api(libs.square.okio)
      "friendsImplementation"(projects.okhttp)
      compileOnly(libs.animalsniffer.annotations)
    
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(projects.mockwebserver3Junit5)
      testImplementation(libs.junit)
      testImplementation(libs.kotlin.test.common)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 829 bytes
    - Click Count (0)
  9. CONTRIBUTING.md

    are on the classpath at runtime. We mostly use this configuration to make sure that
    we do not accidentally compile against dependencies of our dependencies also
    known as "transitive" dependencies".</dd>
    <dt>`compileOnly`</dt><dd>Code that is on the classpath at compile time but that
    should not be shipped with the project because it is "provided" by the runtime
    somehow. Elasticsearch plugins use this configuration to include dependencies
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 07:32:01 GMT 2021
    - 36.5K bytes
    - Click Count (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java

                    DependencyScope.NONE.id(), DependencyScope.NONE.isTransitive(), Collections.emptySet()));
            result.add(internalScopeManager.createDependencyScope(
                    DependencyScope.COMPILE_ONLY.id(),
                    DependencyScope.COMPILE_ONLY.isTransitive(),
                    singleton(CommonBuilds.PROJECT_PATH_MAIN, CommonBuilds.BUILD_PATH_COMPILE)));
            result.add(internalScopeManager.createDependencyScope(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 9.2K bytes
    - Click Count (0)
Back to Top