Skip to content

Commit 5b36c60

Browse files
author
lemon
committed
add jitpack compendencies
1 parent d1095eb commit 5b36c60

File tree

6 files changed

+25
-3
lines changed

6 files changed

+25
-3
lines changed
0 Bytes
Binary file not shown.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2+
apply from: 'jitpack-publish.gradle'
23

34
buildscript {
45
ext.kotlin_version = '1.2.30'
@@ -10,6 +11,9 @@ buildscript {
1011
classpath 'com.android.tools.build:gradle:3.1.0'
1112
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1213

14+
// add JitPack dependencies
15+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
16+
1317
// NOTE: Do not place your application dependencies here; they belong
1418
// in the individual module build.gradle files
1519
}

hybridcache-fresco/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ dependencies {
3232
androidTestImplementation 'com.android.support.test:runner:1.0.1'
3333
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
3434

35-
compile 'com.facebook.fresco:fresco:1.5.0'
36-
compile project(':hybridcache')
35+
implementation 'com.facebook.fresco:fresco:1.5.0'
36+
implementation project(':hybridcache')
3737
}

hybridcache/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ dependencies {
3232
androidTestImplementation 'com.android.support.test:runner:1.0.1'
3333
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
3434
// use disklrucache to provide disk cache
35-
compile 'com.jakewharton:disklrucache:2.0.2'
35+
implementation 'com.jakewharton:disklrucache:2.0.2'
3636
}

jitpack-publish.gradle

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
subprojects { project ->
2+
3+
if (project.name == "app") {
4+
return
5+
}
6+
7+
apply plugin: 'com.github.dcendents.android-maven'
8+
9+
group = 'com.github.easilycoder'
10+
11+
12+
}

0 commit comments

Comments
 (0)