-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
:check
task now triggers linting, bump gradle to 8.4 (#186)
* `:check` task now triggers linting, bump gradle to 8.4 * Removed usage for `dependencyScope` * Added publishing of build scans. * Falling back to gradle 8.3 because of DefaultIvyPublicationIdentity error
- Loading branch information
Showing
6 changed files
with
68 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,27 @@ | ||
plugins { | ||
alias(libs.plugins.composeDesktop) apply false | ||
} | ||
|
||
val sarif: Configuration by configurations.creating { | ||
isCanBeResolved = true | ||
attributes { | ||
attribute(Usage.USAGE_ATTRIBUTE, objects.named("sarif")) | ||
} | ||
`jewel-linting` | ||
} | ||
|
||
dependencies { | ||
sarif(projects.core) | ||
sarif(projects.samples.standalone) | ||
sarif(projects.intUi.intUiStandalone) | ||
sarif(projects.intUi.intUiDecoratedWindow) | ||
sarif(projects.intUi.intUiCore) | ||
sarif(projects.ideLafBridge) | ||
sarif(projects.ideLafBridge.ideLafBridge232) | ||
sarif(projects.ideLafBridge.ideLafBridge233) | ||
sarif(projects.decoratedWindow) | ||
sarif(projects.samples.idePlugin) | ||
} | ||
|
||
tasks { | ||
register<MergeSarifTask>("mergeSarifReports") { | ||
source(sarif) | ||
val mergeSarifReports by registering(MergeSarifTask::class) { | ||
source(configurations.outgoingSarif) | ||
include { it.file.extension == "sarif" } | ||
} | ||
register("check") { | ||
dependsOn(mergeSarifReports) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
@file:Suppress("UnstableApiUsage") | ||
|
||
plugins { | ||
id("io.gitlab.arturbosch.detekt") | ||
id("org.jmailen.kotlinter") | ||
} | ||
|
||
configurations { | ||
val dependencies = register("sarif") { | ||
isCanBeDeclared = true | ||
} | ||
register("outgoingSarif") { | ||
isCanBeConsumed = true | ||
isCanBeResolved = true | ||
extendsFrom(dependencies.get()) | ||
attributes { | ||
attribute(Usage.USAGE_ATTRIBUTE, objects.named("sarif")) | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters