Skip to content
Snippets Groups Projects
Verified Commit 3164fb8b authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Attempt at improving lint, updating versions, improving CI

parent eacd04f0
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -24,7 +24,8 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
tools:ignore="InconsistentLayout">
<android.support.design.widget.AppBarLayout
android:layout_width="match_parent"
......
<?xml version="1.0" encoding="utf-8"?>
<full-backup-content>
<include
domain="sharedpref"
path="." />
</full-backup-content>
lint.xml 0 → 100644
<lint>
<issue id="NewerVersionAvailable" severity="error" />
<!-- Because of course paging and room have incompatible versions -->
<issue id="GradleCompatible" severity="ignore" />
<!-- Because these are entirely broken -->
<issue id="ResourceType" severity="ignore" />
<issue id="UnusedResources" severity="ignore" />
<issue id="ObsoleteLintCustomCheck" severity="ignore" />
<!-- Because otherwise I can’t use the legacy icon in the settings -->
<issue id="IconDuplicates" severity="ignore" />
<!-- Because this doesn’t work when using splash themes -->
<issue id="Overdraw" severity="ignore" />
</lint>
......@@ -41,6 +41,11 @@ android {
"disableAnalytics" to "true"
)
}
lintOptions {
isWarningsAsErrors = true
setLintConfig(file("../lint.xml"))
}
}
dependencies {
......
......@@ -47,6 +47,11 @@ android {
"disableAnalytics" to "true"
)
}
lintOptions {
isWarningsAsErrors = true
setLintConfig(file("../lint.xml"))
}
}
dependencies {
......@@ -58,7 +63,7 @@ dependencies {
}
// App Arch Persistence
withVersion("1.1.0-beta2") {
withVersion("1.1.0-beta3") {
implementation("android.arch.persistence.room", "runtime", version)
implementation("android.arch.persistence.room", "rxjava2", version)
kapt("android.arch.persistence.room", "compiler", version)
......@@ -66,7 +71,7 @@ dependencies {
}
// App Arch Paging
implementation("android.arch.paging", "runtime", "1.0.0-beta1") {
implementation("android.arch.paging", "runtime", "1.0.0-rc1") {
exclude(group = "junit", module = "junit")
}
......
include ':invokerannotations', ':invokergenerator', ':lib', ':malheur', ':app', ":slidingpanel", ":viewmodel", ":persistence"
include ':invokerannotations',
':invokergenerator',
':lib',
":viewmodel",
":persistence",
":slidingpanel",
':malheur',
':app'
rootProject.buildFileName = 'build.gradle.kts'
......@@ -15,6 +15,11 @@ android {
"disableAnalytics" to "true"
)
}
lintOptions {
isWarningsAsErrors = true
setLintConfig(file("../lint.xml"))
}
}
dependencies {
......
......@@ -906,6 +906,7 @@ public class SlidingUpPanelLayout extends ViewGroup {
return mDragHelper.shouldInterceptTouchEvent(ev);
}
@SuppressLint("ClickableViewAccessibility")
@Override
public boolean onTouchEvent(MotionEvent ev) {
if (!isEnabled() || !isTouchEnabled()) {
......
......@@ -41,6 +41,11 @@ android {
"disableAnalytics" to "true"
)
}
lintOptions {
isWarningsAsErrors = true
setLintConfig(file("../lint.xml"))
}
}
dependencies {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment