Skip to content

Commit

Permalink
Ignore lint error.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkistner committed Oct 25, 2021
1 parent 1a8d949 commit 23f29e5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,19 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}

compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

lintOptions {
// Error: The lint detector
// androidx.appcompat.view.OnClickXmlDetector
// called context.getMainProject() during module analysis.
disable 'UsingOnClickInXml'
}
}


Expand Down

0 comments on commit 23f29e5

Please sign in to comment.