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)

1.0.0-beta.1

Created 29 August 2023.

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

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("earth.levi:plugin:1.0.0-beta.1")
  }
}

apply(plugin = "earth.levi.filter-prerelease")

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "earth.levi:plugin:1.0.0-beta.1"
  }
}

apply plugin: "earth.levi.filter-prerelease"

Learn how to apply plugins to subprojects