mirror of
https://github.com/tadfisher/gradle2nix.git
synced 2026-01-11 15:30:38 -05:00
Fix dependency resolution for plugins in buildSrc
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
plugins {
|
||||
`java-library`
|
||||
id("com.example.custom-spotless")
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
plugins {
|
||||
`kotlin-dsl`
|
||||
}
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
gradlePluginPortal()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("com.diffplug.spotless:spotless-plugin-gradle:3.28.1")
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.example
|
||||
|
||||
plugins {
|
||||
com.diffplug.gradle.spotless
|
||||
}
|
||||
|
||||
spotless {
|
||||
kotlin {
|
||||
ktlint()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user