File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 29
29
working-directory : OneSignalSDK
30
30
run : |
31
31
./gradlew ktlintCheck --console=plain
32
+ - name : " [Test] Analyzing"
33
+ working-directory : OneSignalSDK
34
+ continue-on-error : true
35
+ run : |
36
+ ./gradlew detekt --console=plain
32
37
- name : " [Test] SDK Unit Tests"
33
38
working-directory : OneSignalSDK
34
39
run : |
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ buildscript {
14
14
huaweiHMSLocationVersion = ' 4.0.0.300'
15
15
kotlinVersion = ' 1.4.32'
16
16
ktlintVersion = ' 11.0.0'
17
+ detektVersion = ' 1.21.0'
17
18
onesignalGradlePluginVersion = ' [0.14.0, 0.99.99]'
18
19
}
19
20
@@ -37,6 +38,7 @@ buildscript {
37
38
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion "
38
39
39
40
classpath " org.jlleitschuh.gradle:ktlint-gradle:$ktlintVersion "
41
+ classpath " io.gitlab.arturbosch.detekt:detekt-gradle-plugin:$detektVersion "
40
42
41
43
// OneSignal-Gradle-Plugin - Local testing
42
44
// classpath 'com.onesignal:onesignal-gradle-plugin:[0.8.1, 0.99.99]'
Original file line number Diff line number Diff line change 7
7
apply plugin : ' com.android.library'
8
8
apply plugin : ' kotlin-android'
9
9
apply plugin : ' org.jlleitschuh.gradle.ktlint'
10
+ apply plugin : ' io.gitlab.arturbosch.detekt'
10
11
11
12
android {
12
13
compileSdkVersion rootProject. buildVersions. compileSdkVersion
You can’t perform that action at this time.
0 commit comments