diff --git a/README.md b/README.md index 1945373..38242b9 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ [![Chai CI 🍵](https://github.com/droidconKE/chai/actions/workflows/main.yml/badge.svg)](https://github.com/droidconKE/chai/actions/workflows/main.yml) -

Chai Design Logo diff --git a/gradle/README.md b/gradle/README.md deleted file mode 100755 index e28258d..0000000 --- a/gradle/README.md +++ /dev/null @@ -1,5 +0,0 @@ -Read More here: - -https://docs.gradle.org/current/userguide/init_scripts.html#init_scripts - - diff --git a/gradle/init.gradle.kts b/gradle/init.gradle.kts deleted file mode 100755 index 2e32ac7..0000000 --- a/gradle/init.gradle.kts +++ /dev/null @@ -1,52 +0,0 @@ - -/* - -https://docs.gradle.org/current/userguide/init_scripts.html#init_scripts -Run on terminal: `./gradlew --init-script gradle/init.gradle.kts` to enable spotles and ktlint. -This will be added in a make file in the future. - -*/ - -val ktlintVersion = "1.3.1" - -initscript { - val spotlessVersion = "7.0.0.BETA1" - - repositories { - mavenCentral() - } - - dependencies { - classpath("com.diffplug.spotless:spotless-plugin-gradle:$spotlessVersion") - } -} - -rootProject { - subprojects { - apply() - extensions.configure { - kotlin { - target("**/*.kt") - targetExclude("**/build/**/*.kt") - ktlint(ktlintVersion).editorConfigOverride( - mapOf( - "android" to "true", - ), - ) - licenseHeaderFile(rootProject.file("spotless/copyright.kt")) - } - format("kts") { - target("**/*.kts") - targetExclude("**/build/**/*.kts") - // Look for the first line that doesn't have a block comment (assumed to be the license) - licenseHeaderFile(rootProject.file("spotless/copyright.kts"), "(^(?![\\/ ]\\*).*$)") - } - format("xml") { - target("**/*.xml") - targetExclude("**/build/**/*.xml") - // Look for the first XML tag that isn't a comment (