Skip to content

Commit

Permalink
Fix lintcheck dependency
Browse files Browse the repository at this point in the history
fixes #79
  • Loading branch information
eltos committed Feb 21, 2022
1 parent 5a1d584 commit 4e3fd84
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ apply from: "publish.gradle"

// Version number used for simpledialogfragments library, testApp and maven repository
ext {
VERSION = '3.5.1'
VERSION_NR = 351
VERSION = '3.5.2'
VERSION_NR = 352
}


Expand Down
5 changes: 2 additions & 3 deletions simpledialogfragments/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,14 @@ android {
consumerProguardFiles 'proguard-rules.pro'
}
}

lintOptions{
lint {
checkDependencies true
disable 'MissingTranslation'
}
}

dependencies {
implementation project(':lintchecks')
debugImplementation project(':lintchecks')
lintChecks project(':lintchecks')
lintPublish project(':lintchecks')

Expand Down
10 changes: 9 additions & 1 deletion testApp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ dependencies {
implementation 'com.google.android.material:material:1.2.1'
implementation 'com.google.android.flexbox:flexbox:3.0.0'
implementation 'com.google.zxing:core:3.3.3'

// sonatype maven
//implementation 'io.github.eltos:simpledialogfragments:3.5.1'

// jitpack
//implementation 'com.github.eltos:simpledialogfragments:v3.5'

// local project
api project(path: ':simpledialogfragments')
lintChecks project(':lintchecks')

}
3 changes: 2 additions & 1 deletion testApp/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<activity android:name=".MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand Down

0 comments on commit 4e3fd84

Please sign in to comment.