Skip to content

Commit

Permalink
Fail CI build if metric collection fails (#1573)
Browse files Browse the repository at this point in the history
  • Loading branch information
rorbech authored Nov 17, 2023
1 parent 140dc21 commit ce34cf2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pipeline {
ANDROID_NDK_HOME="${NDK_HOME}"
REALM_DISABLE_ANALYTICS=true
REALM_PRINT_ANALYTICS=true
REALM_FAIL_ON_ANALYTICS_ERRORS=false
REALM_FAIL_ON_ANALYTICS_ERRORS=true
JAVA_8='/Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk/Contents/Home'
JAVA_11='/Library/Java/JavaVirtualMachines/jdk-11.0.12.jdk/Contents/Home'
JAVA_17='/Library/Java/JavaVirtualMachines/jdk-17.0.2.jdk/Contents/Home'
Expand Down
4 changes: 2 additions & 2 deletions examples/min-android-sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ buildscript {
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:4.1.3")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.20")
classpath("com.android.tools.build:gradle:4.2.2")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0")
classpath("io.realm.kotlin:gradle-plugin:${rootProject.extra["realmVersion"]}")
}
}
Expand Down
2 changes: 2 additions & 0 deletions examples/min-android-sample/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ kotlin.code.style=official
android.useAndroidX=true

org.gradle.configuration-cache=true

kotlin.mpp.androidSourceSetLayoutVersion=1

0 comments on commit ce34cf2

Please sign in to comment.