Search Gradle plugins

earth.levi.filter-prerelease

Gradle plugin that filters pre-release versions of dependencies. This plugin is mostly useful for Gradle projects using version ranges.

https://github.com/levibostian/gradle-filter-prerelease

Sources: https://github.com/levibostian/gradle-filter-prerelease

Version 1.0.0-beta.1 (latest)

Created 29 August 2023.

Gradle plugin that filters pre-release versions of dependencies. This plugin is mostly useful for Gradle projects using version ranges.

Add this plugin to your build using the plugins DSL:

plugins {
  id("earth.levi.filter-prerelease") version "1.0.0-beta.1"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("earth.levi.filter-prerelease:earth.levi.filter-prerelease.gradle.plugin:1.0.0-beta.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("earth.levi.filter-prerelease")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("earth.levi.filter-prerelease:earth.levi.filter-prerelease.gradle.plugin:1.0.0-beta.1")
      }
    }
    
    apply(plugin = "earth.levi.filter-prerelease")
  • Applying plugins to all subprojects .