File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Android Build
22
33on :
44 push :
5- branches : [ human-operator, main ]
5+ branches : [ human-operator, main, detekt-fixes ]
66 workflow_dispatch : # Ermöglicht manuelle Ausführung des Workflows
77
88jobs :
@@ -106,11 +106,11 @@ jobs:
106106
107107 - name : Detect (app)
108108 if : needs.detect-changes.outputs.app_changed == 'true' || needs.detect-changes.outputs.shared_changed == 'true'
109- run : ./gradlew :app:detect
109+ run : ./gradlew :app:detekt
110110
111111 - name : Detect (humanoperator)
112112 if : needs.detect-changes.outputs.humanoperator_changed == 'true' || needs.detect-changes.outputs.shared_changed == 'true'
113- run : ./gradlew :humanoperator:detect
113+ run : ./gradlew :humanoperator:detekt
114114
115115 build :
116116 needs : [detect-changes, compile-check]
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ plugins {
66 id(" com.google.android.libraries.mapsplatform.secrets-gradle-plugin" )
77 id(" kotlin-parcelize" )
88 id(" com.google.gms.google-services" )
9+ id(" io.gitlab.arturbosch.detekt" )
910}
1011
1112// Redirect build output to C: drive (NTFS) to avoid corrupted ExFAT build cache
Original file line number Diff line number Diff line change @@ -24,4 +24,5 @@ plugins {
2424 id(" org.jetbrains.kotlin.android" ) version " 1.9.20" apply false
2525 id(" com.google.android.libraries.mapsplatform.secrets-gradle-plugin" ) version " 2.0.1" apply false
2626 id(" com.google.gms.google-services" ) version " 4.4.2" apply false
27+ id(" io.gitlab.arturbosch.detekt" ) version " 1.23.4"
2728}
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ plugins {
22 id(" com.android.application" )
33 id(" org.jetbrains.kotlin.android" )
44 id(" com.google.gms.google-services" )
5+ id(" io.gitlab.arturbosch.detekt" )
56}
67
78android {
You can’t perform that action at this time.
0 commit comments