Commit 805ac9c 1 parent 66a4692 commit 805ac9c Copy full SHA for 805ac9c
File tree 2 files changed +8
-21
lines changed
buildSrc/src/main/kotlin/reactivecircus/flowbinding
2 files changed +8
-21
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ class FlowBindingPlugin : Plugin<Project> {
51
51
project.libraryExtension.configureAndroidLibraryOptions()
52
52
}
53
53
is AppPlugin -> {
54
- project.libraryExtension .configureCommonAndroidOptions()
55
- project.appExtension.configureAndroidApplicationOptions(project )
54
+ project.appExtension .configureCommonAndroidOptions()
55
+ project.appExtension.configureAndroidApplicationOptions()
56
56
}
57
57
}
58
58
}
Original file line number Diff line number Diff line change @@ -70,25 +70,12 @@ fun LibraryExtension.configureAndroidLibraryOptions() {
70
70
/* *
71
71
* Apply configuration options for Android Application projects.
72
72
*/
73
- fun AppExtension.configureAndroidApplicationOptions (project : Project ) {
74
- packagingOptions.excludes = setOf (
75
- " kotlin/**" ,
76
- " **/*.kotlin_metadata" ,
77
- " META-INF/*.kotlin_module" ,
78
- " META-INF/*.version"
79
- )
80
-
81
- lintOptions.apply {
82
- disable(" ParcelCreator" )
83
- disable(" GoogleAppIndexingWarning" )
84
- isQuiet = false
85
- isIgnoreWarnings = false
86
- htmlReport = true
87
- xmlReport = true
88
- htmlOutput = File (" ${project.buildDir} /reports/lint/lint-reports.html" )
89
- xmlOutput = File (" ${project.buildDir} /reports/lint/lint-reports.xml" )
90
- isCheckDependencies = true
91
- isIgnoreTestSources = true
73
+ fun AppExtension.configureAndroidApplicationOptions () {
74
+ packagingOptions.apply {
75
+ exclude(" kotlin/**" )
76
+ exclude(" **/*.kotlin_metadata" )
77
+ exclude(" META-INF/*.kotlin_module" )
78
+ exclude(" META-INF/*.version" )
92
79
}
93
80
}
94
81
You can’t perform that action at this time.
0 commit comments