Skip to content

Commit f548bcf

Browse files
committed
Add jitpack.io integration
1 parent 8a7a00d commit f548bcf

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

app/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,14 @@ android {
1919
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2020
}
2121
}
22+
lintOptions {
23+
abortOnError false
24+
}
2225
}
2326

2427
dependencies {
2528
implementation fileTree(dir: 'libs', include: ['*.jar'])
26-
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
29+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
2730
implementation 'com.android.support:appcompat-v7:27.1.1'
2831
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
2932

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ buildscript {
99
dependencies {
1010
classpath 'com.android.tools.build:gradle:3.1.3'
1111
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
12+
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
1213

1314
// NOTE: Do not place your application dependencies here; they belong
1415
// in the individual module build.gradle files
@@ -19,6 +20,7 @@ allprojects {
1920
repositories {
2021
google()
2122
jcenter()
23+
maven { url 'https://jitpack.io' }
2224
}
2325
}
2426

searchablespinner/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ apply plugin: 'com.android.library'
22
apply plugin: 'kotlin-android'
33
apply plugin: 'kotlin-android-extensions'
44

5+
apply plugin: 'com.github.dcendents.android-maven'
6+
7+
group = 'com.github.DonMat'
8+
59
android {
610
compileSdkVersion 27
711

0 commit comments

Comments
 (0)