Search Gradle plugins

Version 2.1.7

2.1.7

Created 27 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.7"
}

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.7")
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "com.liferay.baseline"

Learn how to apply plugins to subprojects