File tree Expand file tree Collapse file tree 5 files changed +4
-28
lines changed Expand file tree Collapse file tree 5 files changed +4
-28
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ plugins {
2
2
alias(libs.plugins.kotlin.mutliplatform) apply false
3
3
alias(libs.plugins.kotlin.binaryCompatibility)
4
4
alias(libs.plugins.nexus.publish)
5
- id( " convention.properties" )
5
+ convention.properties
6
6
}
7
7
8
8
allprojects {
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ allprojects {
8
8
ext[" ossrhPassword" ] = " "
9
9
10
10
val secretPropsFile: File = project.rootProject.file(" local.properties" )
11
- @Suppress(" IMPLICIT_CAST_TO_ANY" )
12
11
if (secretPropsFile.exists()) {
13
12
secretPropsFile
14
13
.reader()
Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ graphql {
39
39
40
40
ktlint {
41
41
version.set(libs.versions.ktlint)
42
- debug.set(true )
43
42
reporters {
44
43
reporter(ReporterType .HTML )
45
44
}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ plugins {
13
13
alias(libs.plugins.detekt)
14
14
alias(libs.plugins.ktlint)
15
15
alias(libs.plugins.kotlin.dokka)
16
- id( " convention.publication" )
16
+ convention.publication
17
17
}
18
18
19
19
val generatedSourceDirectory: Provider <Directory > = layout.buildDirectory.dir(" generated/source/unicode" )
@@ -141,13 +141,7 @@ kotlin {
141
141
}
142
142
}
143
143
js(IR ) {
144
- browser {
145
- commonWebpackConfig {
146
- cssSupport {
147
- enabled.set(true )
148
- }
149
- }
150
- }
144
+ browser()
151
145
generateTypeScriptDefinitions()
152
146
nodejs()
153
147
}
Original file line number Diff line number Diff line change @@ -71,22 +71,6 @@ kotlin {
71
71
implementation(libs.kotest.runner.junit5)
72
72
}
73
73
}
74
-
75
- // in order to support test suites for all targets I have to use the expect/actual functionality
76
- // but some of the targets does not have test tasks (but they are in the sources)
77
- // so I remove them to let the compiler check that all actual implementations are in place
78
- listOf (
79
- macOsTargets,
80
- linuxTargets,
81
- windowsTargets,
82
- ).asSequence().flatten().forEach {
83
- if (it is KotlinTargetWithTests <* , * >) {
84
- // don't need to remove test sources from targets with tests
85
- return @forEach
86
- }
87
- val sourceSetForTarget = getByName(" ${it.name} Test" )
88
- remove(sourceSetForTarget)
89
- }
90
74
}
91
75
92
76
afterEvaluate {
@@ -118,7 +102,7 @@ kotlin {
118
102
}
119
103
120
104
dependencies {
121
- kover(project( " :json-schema-validator " ) )
105
+ kover(projects.jsonSchemaValidator )
122
106
}
123
107
124
108
private val remotesFile =
You can’t perform that action at this time.
0 commit comments