Skip to content

Commit 8a7b5fe

Browse files
committed
cleanup code
1 parent 6a55211 commit 8a7b5fe

File tree

3 files changed

+18
-9
lines changed

3 files changed

+18
-9
lines changed

app/build.gradle

+9-6
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@ android {
4848
}
4949
}
5050

51-
compileOptions {
52-
sourceCompatibility JavaVersion.VERSION_1_7
53-
targetCompatibility JavaVersion.VERSION_1_7
54-
}
55-
5651
android.applicationVariants.all{ variant ->
5752
variant.mergeResources.doLast{
5853
ext.env = System.getenv()
@@ -64,10 +59,18 @@ android {
6459
valuesFile.write(content, 'UTF-8')
6560
}
6661
}
62+
63+
compileOptions {
64+
sourceCompatibility JavaVersion.VERSION_1_7
65+
targetCompatibility JavaVersion.VERSION_1_7
66+
}
67+
68+
lintOptions {
69+
lintConfig file("lint.xml")
70+
}
6771
}
6872

6973
dependencies {
70-
compile fileTree(dir: 'libs', include: ['*.jar'])
7174
compile project(':publiss-android-core')
7275
}
7376

app/lint.xml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<lint>
3+
<issue id="InvalidPackage">
4+
<ignore regexp="okio-1.0.0.jar" />
5+
</issue>
6+
</lint>
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<resources>
2+
<resources xmlns:tools="http://schemas.android.com/tools">
33
<!-- Publiss App Configuration -->
44
<string name="app_name" translatable="false">Publiss</string>
55
<string name="app_secret" translatable="false">9fc4153103bd73cbe36c88738dc9e8bb</string>
6-
<string name="app_token" translatable="false">1d3ae766-0206-4eb7-90e1-f2e2917a4635</string>
7-
</resources>
6+
<string name="app_token" translatable="false" tools:ignore="TypographyDashes">1d3ae766-0206-4eb7-90e1-f2e2917a4635</string>
7+
</resources>

0 commit comments

Comments
 (0)