Search Gradle plugins

Version 0.1.2 (latest)

Created 29 November 2015.

Specify your import ordering style in gradle to set them in IntelliJ

Using the plugins DSL:

plugins {
  id "com.github.crogers.import-style" version "0.1.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.crogers:gradle-import-style:0.1.2"
  }
}

apply plugin: "com.github.crogers.import-style"

Using the plugins DSL:

plugins {
  id("com.github.crogers.import-style") version "0.1.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.github.crogers:gradle-import-style:0.1.2")
  }
}

apply(plugin = "com.github.crogers.import-style")

Learn how to apply plugins to subprojects