Search Gradle plugins

Version 1.16.2 (latest)

1.16.2

Created 20 April 2021.

Gradle plugin that can run scalafmt as a part of your build.

Using the plugins DSL:

plugins {
  id("cz.alenkacz.gradle.scalafmt") version "1.16.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.cz.alenkacz:gradle-scalafmt:1.16.2")
  }
}

apply(plugin = "cz.alenkacz.gradle.scalafmt")

Using the plugins DSL:

plugins {
  id "cz.alenkacz.gradle.scalafmt" version "1.16.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.cz.alenkacz:gradle-scalafmt:1.16.2"
  }
}

apply plugin: "cz.alenkacz.gradle.scalafmt"

Learn how to apply plugins to subprojects