1+ apply plugin : ' com.android.library'
2+ apply plugin : ' kotlin-android'
3+ apply plugin : ' com.github.dcendents.android-maven'
4+
5+ // Apply static code analysis configuration
6+ apply from : ' ./checks.gradle'
7+
8+ repositories {
9+ mavenCentral()
10+ jcenter()
11+ }
12+
13+ android {
14+ compileSdkVersion 27
15+ buildToolsVersion " 27.0.3"
16+
17+ defaultConfig {
18+ minSdkVersion 18
19+ targetSdkVersion 27
20+ versionCode versionCode
21+ versionName " ${ versionName} "
22+ }
23+
24+ buildTypes {
25+ release {
26+ minifyEnabled true
27+ proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
28+ }
29+ }
30+
31+ lintOptions {
32+ disable ' UnusedResources' , ' GoogleAppIndexingWarning'
33+ }
34+ }
35+
36+ dependencies {
37+ implementation fileTree(dir : ' libs' , include : [' *.jar' ])
38+ implementation ' com.android.support:appcompat-v7:27.1.1'
39+ implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
40+ ktlint " com.github.shyiko:ktlint:0.24.0"
41+ }
42+
43+ ext {
44+ bintrayRepo = ' adorsys'
45+ bintrayName = ' securestorage2'
46+
47+ publishedGroupId = ' de.adorsys.android'
48+ libraryName = ' securestorage2'
49+ artifact = ' securestorage2'
50+
51+ libraryDescription = ' securestorage2'
52+
53+ siteUrl = ' https://www.adorsys.de/'
54+ gitUrl = ' https://github.com/adorsys/secure-storage2-android.git'
55+
56+ libraryVersion = " ${ versionName} "
57+
58+ developerId = ' andev'
59+ developerName = ' Andev Adorsys'
60+ developerEmail = ' adorsys.andev@gmail.com'
61+
62+ licenseName = ' The Apache Software License, Version 2.0'
63+ licenseUrl = ' http://www.apache.org/licenses/LICENSE-2.0.txt'
64+ allLicenses = [" Apache-2.0" ]
65+ }
66+
67+ apply from : ' https://raw.githubusercontent.com/adorsys/jcenter-distribution/master/installv.gradle'
68+ apply from : ' https://raw.githubusercontent.com/adorsys/jcenter-distribution/master/bintrayv.gradle'
0 commit comments