Skip to content

Commit

Permalink
build: remove ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
ch4rl3x committed Jun 9, 2024
1 parent 8a5535f commit 33ff270
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 67 deletions.
3 changes: 0 additions & 3 deletions .editorconfig

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/ktlint.yml

This file was deleted.

25 changes: 0 additions & 25 deletions _ktlint.gradle

This file was deleted.

1 change: 0 additions & 1 deletion bottom-drawer-scaffold/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ plugins {
id 'kotlin-android'
}

apply from: '../_ktlint.gradle'
apply from: '../buildCompose.gradle'

ext {
Expand Down
1 change: 0 additions & 1 deletion example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ plugins {
id 'kotlin-android'
}

apply from: '../_ktlint.gradle'
apply from: '../buildCompose.gradle'

android {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
package de.charlex.compose.bottomdrawerscaffold.sample

import android.os.Bundle
import android.util.Log
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.ColumnScope
import androidx.compose.foundation.layout.ExperimentalLayoutApi
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
Expand Down Expand Up @@ -48,8 +45,6 @@ import androidx.compose.material3.SheetValue
import androidx.compose.material3.SnackbarHost
import androidx.compose.material3.SnackbarHostState
import androidx.compose.material3.Text
import androidx.compose.material3.TopAppBar
import androidx.compose.material3.TopAppBarDefaults
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.compose.runtime.rememberCoroutineScope
Expand Down Expand Up @@ -239,7 +234,8 @@ fun Group(
children: @Composable ColumnScope.() -> Unit
) {
Column {
Text(text = title,
Text(
text = title,
modifier = Modifier
.padding(horizontal = 40.dp)
.padding(top = 30.dp, bottom = 15.dp),
Expand Down
2 changes: 0 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ material3 = "1.3.0-beta02" # https://developer.android.com/build/releases/gradle

activityCompose = "1.9.0"
coreKtx = "1.13.1"
ktlint = "0.49.1"

nexusStaging = "0.30.0"

Expand All @@ -30,7 +29,6 @@ compose-material3-material3 = { module = "androidx.compose.material3:material3",
core-ktx = { module = "androidx.core:core-ktx", version.ref = "coreKtx" }
kotlin-stdlib-jdk8 = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlin" }
activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activityCompose" }
ktlint = { module = "com.pinterest:ktlint", version.ref = "ktlint" }

[plugins]
android-library = { id = "com.android.library", version.ref = "gradlePlugin" }
Expand Down

0 comments on commit 33ff270

Please sign in to comment.