diff --git a/app/build.gradle b/app/build.gradle index b21e364..2b124e8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -13,11 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - apply plugin: 'com.android.application' -apply from: '../dependencies.gradle' android { + signingConfigs { + release { + keyAlias 'fabsmenu' + keyPassword 'fabsmenu' + storeFile file('fabsmenu.jks') + storePassword 'fabsmenu' + } + } + compileSdkVersion versions.compileSdk buildToolsVersion versions.buildTools @@ -28,8 +35,9 @@ android { } lintOptions { - disable 'MissingTranslation' - disable 'GoogleAppIndexingWarning' + abortOnError false + checkReleaseBuilds false + disable 'MissingTranslation', 'GoogleAppIndexingWarning' } defaultConfig { @@ -45,6 +53,7 @@ android { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + signingConfig signingConfigs.release } } } diff --git a/app/fabsmenu.jks b/app/fabsmenu.jks new file mode 100644 index 0000000..7612644 Binary files /dev/null and b/app/fabsmenu.jks differ diff --git a/library/build.gradle b/library/build.gradle index e27753b..3874b2a 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -13,18 +13,25 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - apply plugin: 'com.android.library' apply plugin: 'com.github.dcendents.android-maven' -apply from: '../dependencies.gradle' android { compileSdkVersion versions.compileSdk buildToolsVersion versions.buildTools lintOptions { - disable 'MissingTranslation' - disable 'GoogleAppIndexingWarning' + abortOnError false + checkReleaseBuilds false + warningsAsErrors true + disable 'MissingTranslation', + 'GoogleAppIndexingWarning', + 'UnusedResources', + 'ContentDescription', + 'RtlSymmetry', + 'RtlHardcoded', + 'RtlEnabled', + 'Overdraw' } defaultConfig { @@ -39,6 +46,7 @@ android { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + consumerProguardFiles 'proguard-rules.pro' } } } @@ -46,8 +54,6 @@ android { dependencies { api fileTree(dir: 'libs', include: ['*.jar']) // Android Support Libraries - api 'com.android.support:support-v13:' + versions.supportLibs - api 'com.android.support:appcompat-v7:' + versions.supportLibs api 'com.android.support:cardview-v7:' + versions.supportLibs api 'com.android.support:design:' + versions.supportLibs }