Search Gradle plugins

info.offthecob.Base

Owner: whodevil

This plugin contains a bunch of best practices around how to build projects for the JVM. This includes dependency locking by default, kotlin support, groovy support (for testing), wiring up the junit platform, null away, and linting.

https://github.com/whodevil/offthecob-platform

Sources: https://github.com/whodevil/jvm-platform.git

Version 1.0.15 (latest)

Created 01 October 2023.

This plugin contains a bunch of best practices around how to build projects for the JVM.
This includes dependency locking by default, kotlin support, groovy support (for testing),
wiring up the junit platform, null away, and linting.

The Base plugin also offers a task to help update lock files:
./gradlew resolveAndLockAll --write-locks

Using the plugins DSL:

plugins {
  id("info.offthecob.Base") version "1.0.15"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("info.offthecob:plugins:1.0.15")
  }
}

apply(plugin = "info.offthecob.Base")

Using the plugins DSL:

plugins {
  id "info.offthecob.Base" version "1.0.15"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "info.offthecob:plugins:1.0.15"
  }
}

apply plugin: "info.offthecob.Base"

Learn how to apply plugins to subprojects