Skip to content

Commit

Permalink
Skip running test for release build.
Browse files Browse the repository at this point in the history
  • Loading branch information
li-advait committed Nov 13, 2024
1 parent 6b30b86 commit c1fc01b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 0 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ buildscript {
repositories {
google()
mavenCentral()
jcenter()
}

dependencies {
Expand All @@ -16,7 +15,6 @@ subprojects {
repositories {
google()
mavenCentral()
jcenter()
}

group = GROUP_ID
Expand Down
9 changes: 7 additions & 2 deletions shaky/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply from: "$rootDir/gradle/publishing.gradle"

android {
namespace "com.linkedin.android.shaky"
compileSdkVersion rootProject.ext.compileSdkVersion
compileSdk rootProject.ext.compileSdkVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down Expand Up @@ -35,6 +35,12 @@ android {
resourcePrefix 'shaky_'
}

tasks.configureEach {
if (it.name == 'testReleaseUnitTest') {
it.enabled = false
}
}

dependencies {
api 'com.squareup:seismic:1.0.3'
implementation 'com.jraska:falcon:2.2.0'
Expand All @@ -48,4 +54,3 @@ dependencies {
testImplementation 'org.mockito:mockito-core:5.14.2'
testImplementation 'org.robolectric:robolectric:4.13'
}

0 comments on commit c1fc01b

Please sign in to comment.