Search Gradle plugins

com.liferay.baseline

The Baseline Gradle plugin lets you verify that the OSGi semantic versioning rules are obeyed by your OSGi bundle.

https://github.com/liferay/liferay-portal/tree/master/modules/sdk/gradle-plugins-baseline

Version 4.1.0

Created 25 March 2020.

The Baseline Gradle plugin lets you verify that the OSGi semantic versioning rules are obeyed by your OSGi bundle.

Using the plugins DSL:

plugins {
  id "com.liferay.baseline" version "4.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.liferay:gradle-plugins-baseline:4.1.0"
  }
}

apply plugin: "com.liferay.baseline"

Using the plugins DSL:

plugins {
  id("com.liferay.baseline") version "4.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.liferay:gradle-plugins-baseline:4.1.0")
  }
}

apply(plugin = "com.liferay.baseline")

Learn how to apply plugins to subprojects