summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Kumar <amitkma@e.email>2021-05-10 17:47:14 +0530
committerAmit Kumar <amitkma@e.email>2021-05-10 17:47:14 +0530
commit9b9ee02d67f4d4f99a0729982bd9d59a8f36310e (patch)
tree8f1a0fb53ae024983563d3600449f6135e19d63f
parent204c625ea307d30026b43cfe2fe4076aacb7e099 (diff)
Exclude copyright.kt in spotless
-rw-r--r--build.gradle2
-rw-r--r--spotless/copyright.kt2
2 files changed, 2 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle
index 43c6bc0..492cca5 100644
--- a/build.gradle
+++ b/build.gradle
@@ -81,7 +81,7 @@ subprojects {
target '**/*.kt'
targetExclude("$buildDir/**/*.kt")
targetExclude('bin/**/*.kt')
-
+ targetExclude '**/spotless/*.kt'
ktlint(Versions.ktlint)
licenseHeaderFile rootProject.file('spotless/copyright.kt')
}
diff --git a/spotless/copyright.kt b/spotless/copyright.kt
index ffd1cad..698a463 100644
--- a/spotless/copyright.kt
+++ b/spotless/copyright.kt
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2021 E FOUNDATION
+ * Copyright (C) $YEAR E FOUNDATION
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by