Giter Club home page Giter Club logo

plugin-gradle's People

Contributors

darvld avatar dependabot[bot] avatar fossabot avatar renovate[bot] avatar sgammon avatar step-security-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

plugin-gradle's Issues

Initialization error on Gradle 7.6

See below:

* Where:
Settings file '/Volumes/VAULTROOM/elide/framework/settings.gradle.kts' line: 156

* What went wrong:
Cannot query the value of extension 'buildless' property 'service$buildless_plugin_gradle' because it has no value available.

Support Java pre-11

Right now, the plugin requires Java 11 to run; this precludes users on Java 8 from using the plugin effectively in their Gradle builds.

Remote cache `push` option is ignored by the plugin

Disabling pushes to the remote cache in the plugin configuration has no effect, this is an issue with the plugin, as it is not passing the correct remote cache configuration to Gradle.

Reproducing

To reproduce, add the following to settings.gradle.kts, then build the project, Gradle will still push entries to the remote cache:

// settings.gradle.kts

buildless {
  remoteCache {
    // disable pushing to remote cache
    push = false 
  }
}

Local cache management

There are some improvements we should add with regard to localCache, and some bugs:

  • Bug: Local cache is not disabled when requested
  • Bug: Local cache default directory does not reside with project
  • Feature: easier ability to disable local cache (via env var, etc)

Bug with service registry injection

* Where:
Settings file '/workspaces/business/gradle-versions-plugin/settings.gradle.kts' line: 28

* What went wrong:
No service of type BuildServiceRegistry available in SettingsScopeServices.

Reported by @claspell

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Pending Approval

These branches will be created by Renovate only once you click their checkbox below.

  • chore(deps): update actions/checkout digest to f43a0e5
  • chore(deps): update github/codeql-action digest to 03e7845
  • chore(deps): update gradle/gradle-build-action digest
  • chore(deps): update jetbrains/qodana-action digest to 8815ca3
  • chore(deps): update dependency org.jetbrains.kotlinx.benchmark to v0.4.10
  • chore(deps): update github/codeql-action action to v2.22.11
  • fix(deps): update auto.value (com.google.auto.value:auto-value, com.google.auto.value:auto-value-annotations)
  • fix(deps): update dependency io.envoyproxy.envoymobile:envoy to v0.5.0.20230925
  • fix(deps): update elide (dev.elide:elide-proto-protobuf, dev.elide:elide-proto-core, dev.elide:elide-model)
  • fix(deps): update netty.tcnative to v2.0.62.final (io.netty:netty-tcnative-boringssl-static, io.netty:netty-tcnative)
  • chore(deps): update dependency com.diffplug.spotless to v6.23.3
  • chore(deps): update dependency org.spdx.sbom to v0.5.0
  • chore(deps): update plugin com.gradle.enterprise to v3.16.1
  • fix(deps): update dependency com.auth0:auth0 to v1.45.0
  • fix(deps): update dependency com.google.auto.factory:auto-factory to v1.1.0
  • fix(deps): update dependency dev.zacsweers.autoservice:auto-service-ksp to v1.1.0
  • chore(deps): update actions/checkout action to v4
  • chore(deps): update actions/upload-artifact action to v4
  • chore(deps): update github/codeql-action action to v3
  • fix(deps): update dependency com.auth0:auth0 to v2
  • chore(deps): lock file maintenance
  • ๐Ÿ” Create all pending approval PRs at once ๐Ÿ”

Warning

Renovate failed to look up the following dependencies: Failed to look up maven package dev.elide:uuid, Failed to look up maven package com.google.auto.factory:auto-factory-annotations.

Files affected: gradle/plugin.versions.toml


Detected dependencies

github-actions
.github/workflows/module.apicheck.yml
  • step-security/harden-runner v2.6.1@eb238b55efaa70779f274895e782ed17c84f2895
  • actions/checkout v3@b4ffde65f46336ab88eb53be808477a3936bae11
  • buildjet/setup-java v3@3b5edd4799eb848d92664003cb1e6f74db868f19
  • gradle/gradle-build-action v2@d1b726d8c1e0cc120447ad1a950d6e6794c51ad8
.github/workflows/module.codeql.yml
  • step-security/harden-runner v2.6.1@eb238b55efaa70779f274895e782ed17c84f2895
  • actions/checkout v3@b4ffde65f46336ab88eb53be808477a3936bae11
  • buildjet/setup-java v3@3b5edd4799eb848d92664003cb1e6f74db868f19
  • github/codeql-action v2@305f6546310b9203e892c28c1484e82977f4f63d
  • gradle/gradle-build-action v2@d1b726d8c1e0cc120447ad1a950d6e6794c51ad8
  • github/codeql-action v2@305f6546310b9203e892c28c1484e82977f4f63d
.github/workflows/module.detekt.yml
  • step-security/harden-runner v2.6.1@eb238b55efaa70779f274895e782ed17c84f2895
  • actions/checkout v3@b4ffde65f46336ab88eb53be808477a3936bae11
  • buildjet/setup-java v3@3b5edd4799eb848d92664003cb1e6f74db868f19
  • github/codeql-action v2@305f6546310b9203e892c28c1484e82977f4f63d
.github/workflows/module.qodana.yml
  • step-security/harden-runner v2.6.1@eb238b55efaa70779f274895e782ed17c84f2895
  • actions/checkout v3@b4ffde65f46336ab88eb53be808477a3936bae11
  • buildjet/setup-java v3@3b5edd4799eb848d92664003cb1e6f74db868f19
  • JetBrains/qodana-action a761b07c2498b56879d7977f4837555b1539f2ae
.github/workflows/scorecard.yml
  • step-security/harden-runner v2.6.1@eb238b55efaa70779f274895e782ed17c84f2895
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • ossf/scorecard-action v2.3.1@0864cf19026789058feabb7e87baa5f140aac736
  • actions/upload-artifact v3.1.3@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
  • github/codeql-action v2.22.10@305f6546310b9203e892c28c1484e82977f4f63d
.github/workflows/trigger.release.yml
  • step-security/harden-runner v2.6.1@eb238b55efaa70779f274895e782ed17c84f2895
  • actions/checkout v3@b4ffde65f46336ab88eb53be808477a3936bae11
  • buildjet/setup-java v3@3b5edd4799eb848d92664003cb1e6f74db868f19
  • gradle/gradle-build-action d1b726d8c1e0cc120447ad1a950d6e6794c51ad8
  • buildjet/setup-java v3@3b5edd4799eb848d92664003cb1e6f74db868f19
  • gradle/gradle-build-action d1b726d8c1e0cc120447ad1a950d6e6794c51ad8
  • step-security/harden-runner v2.6.1@eb238b55efaa70779f274895e782ed17c84f2895
  • actions/checkout v3@b4ffde65f46336ab88eb53be808477a3936bae11
  • buildjet/setup-java v3@3b5edd4799eb848d92664003cb1e6f74db868f19
  • gradle/gradle-build-action d1b726d8c1e0cc120447ad1a950d6e6794c51ad8
  • buildjet/setup-java v3@3b5edd4799eb848d92664003cb1e6f74db868f19
  • gradle/gradle-build-action d1b726d8c1e0cc120447ad1a950d6e6794c51ad8
  • step-security/harden-runner v2.6.1@eb238b55efaa70779f274895e782ed17c84f2895
  • actions/checkout v3@b4ffde65f46336ab88eb53be808477a3936bae11
  • buildjet/setup-java v3@3b5edd4799eb848d92664003cb1e6f74db868f19
  • gradle/gradle-build-action d1b726d8c1e0cc120447ad1a950d6e6794c51ad8
.github/workflows/trigger.yml
  • step-security/harden-runner v2.6.1@eb238b55efaa70779f274895e782ed17c84f2895
  • actions/checkout v3@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/dependency-review-action v3@01bc87099ba56df1e897b6874784491ea6309bc4
gradle
gradle.properties
settings.gradle.kts
  • com.gradle.enterprise 3.15.1
  • org.gradle.toolchains.foojay-resolver-convention 0.7.0
build.gradle.kts
buildSrc/gradle.properties
  • org.jetbrains.kotlin:kotlin-gradle-plugin 1.9.21
buildSrc/settings.gradle.kts
buildSrc/build.gradle.kts
gradle/libs.versions.toml
  • com.auth0:auth0 1.44.2
  • com.auth0:jwks-rsa 0.22.1
  • com.auth0:java-jwt 4.4.0
  • com.aayushatharva.brotli4j:native-linux-x86_64 1.13.0
  • com.aayushatharva.brotli4j:native-osx-x86_64 1.13.0
  • com.aayushatharva.brotli4j:native-windows-x86_64 1.13.0
  • build.buf:connect-kotlin 0.1.10
  • build.buf:connect-kotlin-google-java-ext 0.1.10
  • build.buf.protoc-gen-validate:pgv-java 1.0.2
  • build.buf.protoc-gen-validate:pgv-java-grpc 1.0.2
  • build.buf.protoc-gen-validate:pgv-java-stub 1.0.2
  • com.github.ben-manes.caffeine:caffeine 3.1.8
  • io.grpc:grpc-api 1.60.0
  • io.grpc:grpc-auth 1.60.0
  • io.grpc:grpc-core 1.60.0
  • io.grpc:grpc-kotlin-stub 1.4.1
  • io.grpc:grpc-protobuf 1.60.0
  • io.grpc:grpc-stub 1.60.0
  • io.grpc:grpc-testing 1.60.0
  • org.junit.jupiter:junit-jupiter-api 5.10.1
  • org.junit.jupiter:junit-jupiter-engine 5.10.1
  • org.junit.jupiter:junit-jupiter-params 5.10.1
  • com.squareup.okhttp3:okhttp 4.12.0
  • com.google.protobuf:protobuf-java 3.25.1
  • com.google.protobuf:protobuf-kotlin 3.25.1
  • com.google.protobuf:protobuf-java-util 3.25.1
  • com.google.truth:truth 1.1.5
  • com.google.truth.extensions:truth-proto-extension 1.1.5
  • org.jetbrains.kotlinx:kotlinx-serialization-core 1.6.2
  • org.jetbrains.kotlinx:kotlinx-serialization-core-js 1.6.2
  • org.jetbrains.kotlinx:kotlinx-serialization-core-jvm 1.6.2
  • org.jetbrains.kotlinx:kotlinx-serialization-json 1.6.2
  • org.jetbrains.kotlinx:kotlinx-serialization-json-js 1.6.2
  • org.jetbrains.kotlinx:kotlinx-serialization-json-jvm 1.6.2
  • org.jetbrains.kotlinx:kotlinx-serialization-protobuf 1.6.2
  • org.jetbrains.kotlinx:kotlinx-serialization-protobuf-js 1.6.2
  • org.jetbrains.kotlinx:kotlinx-serialization-protobuf-jvm 1.6.2
  • org.jetbrains.kotlinx:kotlinx-serialization-properties 1.6.2
  • org.jetbrains.kotlinx:kotlinx-serialization-properties-jvm 1.6.2
  • build.buf 0.8.6
  • com.github.gmazzo.buildconfig 4.2.0
  • com.asarkar.gradle.build-time-tracker 4.3.0
  • org.cyclonedx.bom 1.8.1
  • io.gitlab.arturbosch.detekt 1.23.4
  • org.jetbrains.dokka 1.9.10
  • org.jetbrains.kotlin.plugin.allopen 1.9.21
  • org.jetbrains.kotlin.plugin.serialization 1.9.21
  • org.jetbrains.kotlinx.binary-compatibility-validator 0.13.2
  • org.jetbrains.kotlinx.kover 0.7.5
  • io.github.gradle-nexus.publish-plugin 2.0.0-rc-1
  • com.gradle.plugin-publish 1.2.1
  • com.google.devtools.ksp 1.9.21-1.0.15
  • org.spdx.sbom 0.4.0
  • dev.sigstore.sign 0.5.0
  • org.sonarqube 4.4.1.3373
  • com.diffplug.spotless 6.23.3
  • com.adarshr.test-logger 4.0.0
  • io.micronaut.library 4.2.1
  • com.github.ben-manes.versions 0.50.0
gradle/plugin.versions.toml
  • io.airlift:aircompressor 0.25
  • org.junit.jupiter:junit-jupiter 5.10.1
  • org.junit.jupiter:junit-jupiter-api 5.10.1
  • org.junit.jupiter:junit-jupiter-engine 5.10.1
  • org.junit.jupiter:junit-jupiter-params 5.10.1
  • com.google.protobuf:protobuf-java 3.25.1
  • com.google.protobuf:protobuf-java-util 3.25.1
  • com.google.protobuf:protobuf-kotlin 3.25.1
  • build.buf.protoc-gen-validate:protoc-gen-validate 1.0.2
  • build.buf.protoc-gen-validate:pgv-java 1.0.2
  • build.buf.protoc-gen-validate:pgv-java-stub 1.0.2
  • build.buf.protoc-gen-validate:pgv-java-grpc 1.0.2
  • io.envoyproxy.envoymobile:envoy 0.5.0.20230529
  • build.buf:connect-kotlin 0.2.0
  • org.jetbrains.kotlin:atomicfu 1.9.21
  • org.jetbrains.kotlinx:atomicfu-linuxx64 0.22.0
  • org.jetbrains.kotlinx:atomicfu-macosx64 0.22.0
  • org.jetbrains.kotlinx:kotlinx-coroutines-core 1.8.0-RC
  • org.jetbrains.kotlinx:kotlinx-coroutines-test 1.8.0-RC
  • org.jetbrains.kotlinx:kotlinx-coroutines-core-js 1.8.0-RC
  • org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm 1.8.0-RC
  • org.jetbrains.kotlinx:kotlinx-coroutines-jdk8 1.8.0-RC
  • org.jetbrains.kotlinx:kotlinx-coroutines-jdk9 1.8.0-RC
  • org.jetbrains.kotlinx:kotlinx-coroutines-slf4j 1.8.0-RC
  • org.jetbrains.kotlinx:kotlinx-coroutines-guava 1.8.0-RC
  • org.jetbrains.kotlinx:kotlinx-coroutines-reactive 1.8.0-RC
  • org.jetbrains.kotlinx:kotlinx-coroutines-reactor 1.8.0-RC
  • org.jetbrains.kotlinx:kotlinx-coroutines-rx2 1.8.0-RC
  • org.jetbrains.kotlinx:kotlinx-coroutines-rx3 1.8.0-RC
  • org.jetbrains.kotlinx:kotlinx-collections-immutable 0.3.5
  • org.jetbrains.kotlinx:kotlinx-datetime 0.5.0
  • org.jetbrains.kotlinx:kotlinx-serialization-core 1.6.2
  • org.jetbrains.kotlinx:kotlinx-serialization-core-js 1.6.2
  • org.jetbrains.kotlinx:kotlinx-serialization-core-jvm 1.6.2
  • org.jetbrains.kotlinx:kotlinx-serialization-json 1.6.2
  • org.jetbrains.kotlinx:kotlinx-serialization-json-js 1.6.2
  • org.jetbrains.kotlinx:kotlinx-serialization-json-jvm 1.6.2
  • org.jetbrains.kotlinx:kotlinx-serialization-protobuf 1.6.2
  • org.jetbrains.kotlinx:kotlinx-serialization-protobuf-js 1.6.2
  • org.jetbrains.kotlinx:kotlinx-serialization-protobuf-jvm 1.6.2
  • org.jetbrains.kotlinx:kotlinx-serialization-properties 1.6.2
  • org.jetbrains.kotlinx:kotlinx-serialization-properties-jvm 1.6.2
  • org.jetbrains.kotlinx:kotlinx-benchmark-runtime 0.4.9
  • org.openjdk.jmh:jmh-core 1.37
  • com.google.devtools.ksp:symbol-processing-api 1.9.21-1.0.15
  • com.google.devtools.ksp:symbol-processing 1.9.21-1.0.15
  • dev.zacsweers.autoservice:auto-service-ksp 1.0.0
  • com.google.truth:truth 1.1.5
  • com.google.truth.extensions:truth-proto-extension 1.1.5
  • dev.elide:uuid 0.9.10
  • net.jpountz.lz4:lz4 1.3.0
  • com.github.luben:zstd-jni 1.5.5-11
  • io.grpc:grpc-api 1.60.0
  • io.grpc:grpc-auth 1.60.0
  • io.grpc:grpc-bom 1.60.0
  • io.grpc:grpc-core 1.60.0
  • io.grpc:grpc-stub 1.60.0
  • io.grpc:grpc-services 1.60.0
  • io.grpc:grpc-testing 1.60.0
  • io.grpc:grpc-netty 1.60.0
  • io.grpc:grpc-protobuf 1.60.0
  • io.grpc:grpc-kotlin-stub 1.4.1
  • io.netty:netty-bom 4.1.101.Final
  • io.netty:netty-transport-native-unix-common 4.1.101.Final
  • io.netty:netty-transport-native-epoll 4.1.101.Final
  • io.netty:netty-transport-native-kqueue 4.1.101.Final
  • io.netty:netty-tcnative 2.0.61.Final
  • io.netty:netty-tcnative-boringssl-static 2.0.61.Final
  • io.netty:netty-resolver-dns-native-macos 4.1.101.Final
  • com.google.api:gax 2.33.0
  • com.google.api:gax-grpc 2.33.0
  • com.google.api:api-common 2.15.0
  • com.google.auto.service:auto-service 1.1.1
  • com.google.auto.service:auto-service-annotations 1.1.1
  • com.google.auto.factory:auto-factory 1.0.1
  • com.google.auto.factory:auto-factory-annotations 1.0.1
  • com.google.auto.value:auto-value-annotations 1.10.2
  • com.google.auto.value:auto-value 1.10.2
  • com.google.auto:auto-common 1.2.2
  • org.anarres:parallelgzip 1.0.5
  • com.aayushatharva.brotli4j:brotli4j 1.13.0
  • com.aayushatharva.brotli4j:native-osx-x86_64 1.13.0
  • com.aayushatharva.brotli4j:native-osx-aarch64 1.13.0
  • com.aayushatharva.brotli4j:native-linux-x86_64 1.13.0
  • com.aayushatharva.brotli4j:native-linux-aarch64 1.13.0
  • com.aayushatharva.brotli4j:native-windows-x86_64 1.13.0
  • org.xerial.snappy:snappy-java 1.1.10.5
  • io.sentry:sentry 6.29.0
  • dev.elide:elide-model 1.0-v3-alpha3-b7
  • dev.elide:elide-proto-core 1.0-v3-alpha3-b7
  • dev.elide:elide-proto-protobuf 1.0-v3-alpha3-b7
  • build.buf:buf-gradle-plugin 0.8.6
  • org.sonarsource.scanner.gradle:sonarqube-gradle-plugin 4.4.1.3373
  • com.google.devtools.ksp 1.9.21-1.0.15
  • com.osacky.doctor 0.9.1
  • io.gitlab.arturbosch.detekt 1.23.4
  • org.jetbrains.kotlin.jvm 1.9.21
  • org.jetbrains.kotlin.js 1.9.21
  • org.jetbrains.kotlin.multiplatform 1.9.21
  • org.jetbrains.kotlin.plugin.noarg 1.9.21
  • org.jetbrains.kotlin.plugin.allopen 1.9.21
  • org.jetbrains.kotlin.plugin.serialization 1.9.21
  • org.jetbrains.kotlin.plugin.atomicfu 1.9.21
  • org.jetbrains.kotlinx.binary-compatibility-validator 0.13.2
  • org.jetbrains.kotlinx.benchmark 0.4.9
  • org.jetbrains.dokka 1.9.10
  • org.sonarqube 4.4.1.3373
  • org.jetbrains.kotlinx.kover 0.7.5
  • com.gradle.plugin-publish 1.2.1
  • com.github.ben-manes.versions 0.50.0
  • com.adarshr.test-logger 4.0.0
  • com.github.johnrengelman.shadow 8.1.1
  • com.github.gmazzo.buildconfig 4.2.0
  • build.buf 0.8.6
  • com.diffplug.spotless 6.22.0
  • org.spdx.sbom 0.4.0
  • org.cyclonedx.bom 1.8.1
  • dev.sigstore.sign 0.5.0
  • io.github.gradle-nexus.publish-plugin 1.3.0
  • com.google.protobuf 0.9.4
gradle-wrapper
gradle/wrapper/gradle-wrapper.properties
  • gradle 8.5

  • Check this box to trigger a request for Renovate to run again on this repository

Features for `1.0`

Once we're out of beta, the goal is to have a more complete plugin experience, with some extra best-practices support provided by some open source plugins, as well as improvements made to the Buildless plugin itself.

In each case, we'll need to check/enclose licenses, contact authors (as needed), and otherwise obtain proper permission to embed this code or seek alternatives.

Plugins we may want to bundle

  • Gradle Doctor: This plugin is fantastic for catching major mistakes in a Gradle build, many of which can hurt cache performance. In addition to these checks, the plugin also measures cache efficiency and offers recommendations about targets that should be withheld from the cache.

  • Build time tracker: This plugin offers a summary at the end of a build, showing the set of tasks which took the longest. It would be especially cool to extend this plugin with color support and with embedded time-savings charts from use of Buildless.

  • Android cache fix: This plugin applies fixes to Android builds which improve/fix caching. The plugin comes directly from the Gradle team.

  • Common user data: This plugin is offered by the Gradle team for a downstream team to customize; we may want to offer our own Buildless-enhanced alternative, or otherwise provide an easy path for use (if we don't bundle).

Functionality we want to add

  • Transport: Enhanced HTTP2 transport for communicating with the cache.

  • Pkgst: Extensions and other DSL for easily activating Pkgst support.

  • Local env: Smarter local env, with support for CACHE_ENDPOINT overrides, and suppressing local or remote caching via other env vars.

  • CLI support: When the CLI is installed and available, we should use it to obtain configuration; ditto for desktop apps.

  • Agent support: When the Buildless Agent is running, the Gradle plugin should notice automatically and use it instead of cloud-based endpoints.

  • Negotiation: Specialized endpoint negotiation, which will let a cache dynamically configure itself over an API.

Bugs to fix

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.