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 2.1.6 (latest)

Created 17 September 2019.

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 "2.1.6"
}

Using legacy plugin application:

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

apply plugin: "com.liferay.baseline"

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects