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.0.9 (latest)

Created 09 January 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.0.9"
}

Using legacy plugin application:

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

apply plugin: "com.liferay.baseline"

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects