mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-13 21:56:59 +05:30
fix(gradle): change checkouts directory
This commit is contained in:
parent
839773e48e
commit
6a8893a5aa
3 changed files with 7 additions and 4 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -242,3 +242,6 @@ hs_err_pid*
|
|||
!/gradle/wrapper/gradle-wrapper.jar
|
||||
|
||||
# End of https://www.toptal.com/developers/gitignore/api/androidstudio,gradle,intellij+all
|
||||
|
||||
# Directory for checkouts of projects built by includegit-gradle-plugin
|
||||
/checkouts/
|
||||
|
|
|
@ -26,18 +26,18 @@ class SpotlessPlugin : Plugin<Project> {
|
|||
kotlin {
|
||||
ktfmt(KTFMT_VERSION).googleStyle()
|
||||
target("**/*.kt")
|
||||
targetExclude("**/build/", "/spotless/")
|
||||
targetExclude("**/build/", "/spotless/", "/checkouts/")
|
||||
licenseHeaderFile(project.file("spotless/license.kt"))
|
||||
}
|
||||
kotlinGradle {
|
||||
ktfmt(KTFMT_VERSION).googleStyle()
|
||||
target("**/*.kts")
|
||||
targetExclude("**/build/")
|
||||
targetExclude("**/build/", "/checkouts/")
|
||||
licenseHeaderFile(project.file("spotless/license.kt"), "import|plugins|@file")
|
||||
}
|
||||
format("xml") {
|
||||
target("**/*.xml")
|
||||
targetExclude("**/build/", ".idea/")
|
||||
targetExclude("**/build/", ".idea/", "/checkouts/")
|
||||
trimTrailingWhitespace()
|
||||
indentWithSpaces()
|
||||
endWithNewline()
|
||||
|
|
|
@ -55,7 +55,7 @@ pluginManagement {
|
|||
plugins { id("me.champeau.includegit") version "0.1.5" }
|
||||
|
||||
gitRepositories {
|
||||
checkoutsDirectory.set(rootProject.projectDir.resolve("build/checkouts"))
|
||||
checkoutsDirectory.set(rootProject.projectDir.resolve("checkouts"))
|
||||
include("whetstone") {
|
||||
uri.set("https://github.com/msfjarvis/whetstone")
|
||||
branch.set("inject-component-activity")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue