mirror of
https://github.com/tadfisher/gradle2nix.git
synced 2026-01-12 07:50:53 -05:00
Rewrite based on code from the GitHub Dependency Graph Gradle Plugin
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
plugins {
|
||||
`java-library`
|
||||
id("com.example.custom-spotless")
|
||||
}
|
||||
id("com.example.apply-plugin-publish")
|
||||
}
|
||||
|
||||
@@ -3,10 +3,9 @@ plugins {
|
||||
}
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
gradlePluginPortal()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("com.diffplug.spotless:spotless-plugin-gradle:3.28.1")
|
||||
implementation("com.gradle.publish:plugin-publish-plugin:1.2.1")
|
||||
}
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.example
|
||||
|
||||
plugins {
|
||||
id("com.gradle.plugin-publish")
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
package com.example
|
||||
|
||||
plugins {
|
||||
com.diffplug.gradle.spotless
|
||||
}
|
||||
|
||||
spotless {
|
||||
kotlin {
|
||||
ktlint()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user