This repository was archived by the owner on Oct 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +6
-11
lines changed
src/main/kotlin/app/passwordstore/gradle Expand file tree Collapse file tree 5 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -29,9 +29,7 @@ android {
29
29
testInstrumentationRunner = " androidx.test.runner.AndroidJUnitRunner"
30
30
}
31
31
32
- buildFeatures {
33
- compose = true
34
- }
32
+ buildFeatures { compose = true }
35
33
composeOptions {
36
34
useLiveLiterals = false
37
35
kotlinCompilerExtensionVersion = libs.versions.composeCompiler.get()
Original file line number Diff line number Diff line change @@ -23,9 +23,7 @@ android {
23
23
}
24
24
25
25
tasks.withType<KotlinCompile >().configureEach {
26
- compilerOptions {
27
- languageVersion.set(KotlinVersion .KOTLIN_1_7 )
28
- }
26
+ compilerOptions { languageVersion.set(KotlinVersion .KOTLIN_1_7 ) }
29
27
}
30
28
31
29
dependencies {
Original file line number Diff line number Diff line change 5
5
6
6
plugins { `kotlin- dsl` }
7
7
8
- private val jvmToolchainAction = Action <JavaToolchainSpec > { languageVersion.set(JavaLanguageVersion .of(17 )) }
8
+ private val jvmToolchainAction =
9
+ Action <JavaToolchainSpec > { languageVersion.set(JavaLanguageVersion .of(17 )) }
9
10
10
11
kotlin.jvmToolchain(jvmToolchainAction)
11
12
Original file line number Diff line number Diff line change 6
6
7
7
rootProject.name = " build-logic"
8
8
9
- plugins {
10
- id(" org.gradle.toolchains.foojay-resolver-convention" ) version " 0.5.0"
11
- }
9
+ plugins { id(" org.gradle.toolchains.foojay-resolver-convention" ) version " 0.5.0" }
12
10
13
11
dependencyResolutionManagement {
14
12
repositories {
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class KtfmtPlugin : Plugin<Project> {
12
12
override fun apply (target : Project ) {
13
13
val input = Callable {
14
14
target.layout.projectDirectory.asFileTree.filter { file ->
15
- file.extension == " kt" || file.extension == " kts" && ! file.canonicalPath.contains(" build" )
15
+ file.extension == " kt" || file.extension == " kts" && ! file.canonicalPath.contains(" build/ " )
16
16
}
17
17
}
18
18
target.tasks.register<KtfmtFormatTask >(" ktfmtFormat" ) { source(input) }
You can’t perform that action at this time.
0 commit comments