File tree Expand file tree Collapse file tree 2 files changed +2
-32
lines changed Expand file tree Collapse file tree 2 files changed +2
-32
lines changed Original file line number Diff line number Diff line change 22// SPDX-License-Identifier: Apache-2.0
33import io.gitlab.arturbosch.detekt.Detekt
44import io.gitlab.arturbosch.detekt.DetektCreateBaselineTask
5- import org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension
65import software.aws.toolkits.gradle.jvmTarget
7- import kotlin.jvm.java
86
97plugins {
108 id(" io.gitlab.arturbosch.detekt" )
@@ -54,32 +52,3 @@ tasks.withType<DetektCreateBaselineTask>().configureEach {
5452 // weird issue where the baseline tasks can't find the source code
5553 source.plus(detektFiles)
5654}
57-
58- tasks.create(" aaaa" ) {
59- doLast {
60- project.extensions.getByType(KotlinJvmProjectExtension ::class .java).target.compilations.all { compilation ->
61- val ss = compilation.kotlinSourceSets
62- .map { it.kotlin.sourceDirectories }
63- .fold(project.files() as FileCollection ) { collection, next -> collection.plus(next) }
64- ss
65- .forEach { println (it) }
66-
67- println (" 1 / ======" )
68- println (ss.files)
69-
70- println (" pp / ======" )
71- ss.forEach { t ->
72- println (" pp / $t / ======" )
73- exec {
74- commandLine(" ls" , " -laR" , t.absolutePath).isIgnoreExitValue = true
75- }
76- }
77- true
78- }
79-
80- println (" source / ======" )
81- tasks.named<Detekt >(" detektMain" ).get().source.forEach { println (it) }
82- println (" files / ======" )
83- println (tasks.named<Detekt >(" detektMain" ).get().source.files)
84- }
85- }
Original file line number Diff line number Diff line change @@ -35,7 +35,8 @@ phases:
3535 fi
3636
3737 - chmod +x gradlew
38- - su codebuild-user -c "./gradlew -PideProfileName=$ALTERNATIVE_IDE_PROFILE_NAME aaaa --info --console plain --continue"
38+ - su codebuild-user -c "./gradlew -PideProfileName=$ALTERNATIVE_IDE_PROFILE_NAME check coverageReport --info --console plain --continue"
39+ - su codebuild-user -c "./gradlew -PideProfileName=$ALTERNATIVE_IDE_PROFILE_NAME buildPlugin"
3940 - VCS_COMMIT_ID="${CODEBUILD_RESOLVED_SOURCE_VERSION}"
4041 - CI_BUILD_URL=$(echo $CODEBUILD_BUILD_URL | sed 's/#/%23/g') # Encode `#` in the URL because otherwise the url is clipped in the Codecov.io site
4142 - CI_BUILD_ID="${CODEBUILD_BUILD_ID}"
You can’t perform that action at this time.
0 commit comments