mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 16:27:06 +05:30
api: initial commit
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
29c374859b
commit
fcfcbfbf92
17 changed files with 274 additions and 12 deletions
|
@ -1,9 +1,8 @@
|
|||
buildscript {
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
jcenter()
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.10")
|
||||
|
@ -18,21 +17,19 @@ version = "1.0"
|
|||
|
||||
allprojects {
|
||||
repositories {
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
maven { url = uri("https://maven.pkg.jetbrains.space/public/p/compose/dev") }
|
||||
google()
|
||||
}
|
||||
apply(plugin = "com.diffplug.spotless")
|
||||
configure<com.diffplug.gradle.spotless.SpotlessExtension> {
|
||||
kotlin {
|
||||
target("**/*.kt")
|
||||
targetExclude("**/build/**")
|
||||
ktlint().userData(mapOf("indent_size" to "2", "continuation_indent_size" to "2"))
|
||||
ktfmt().googleStyle()
|
||||
}
|
||||
kotlinGradle {
|
||||
target("*.gradle.kts")
|
||||
ktlint().userData(mapOf("indent_size" to "2", "continuation_indent_size" to "2"))
|
||||
ktfmt().googleStyle()
|
||||
}
|
||||
format("xml") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue