Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Fix errors when opening the project in Android Studio 3.3 #149

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android:
- tools

# The BuildTools version used by your project
- build-tools-26.0.2
- build-tools-28.0.3

- platform-tools

Expand All @@ -18,7 +18,7 @@ android:
- extra-google-m2repository

# The SDK version used to compile your project
- android-26
- android-28

licenses:
- '.+'
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
# Gradle Dependency
**Requirements**
* Latest version of Android Studio</li>
* Android-SDK Build tools v27</li>
* API 26 SDK Platform</li>
* Android-SDK Build tools v28</li>
* API 28 SDK Platform</li>
* Latest version of Android Support Library</li>
* Java SE Development Kit 8</li>

Expand Down
7 changes: 3 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.android.tools.build:gradle:3.3.0'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'

// NOTE: Do not place your application dependencies here; they belong
Expand All @@ -31,11 +31,10 @@ allprojects {

//NOTE: This is important
rootProject.ext {
BuildTools = "26.0.2"
MinSdk = 15
TargetSdk = 26
CompileSdk = 26
SupportLibrary = "26.0.2"
CompileSdk = 28
SupportLibrary = "28.0.0"
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
63 changes: 29 additions & 34 deletions library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
apply plugin: 'com.android.library'
apply plugin: 'me.tatarka.retrolambda'
apply plugin: 'com.jakewharton.butterknife'
apply plugin: 'com.github.dcendents.android-maven'

Expand Down Expand Up @@ -33,13 +32,11 @@ buildscript {

dependencies {
classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0-SNAPSHOT'
classpath 'me.tatarka:gradle-retrolambda:3.7.0'
}
}

android {
compileSdkVersion rootProject.ext.CompileSdk
buildToolsVersion rootProject.ext.BuildTools

defaultConfig {
minSdkVersion rootProject.ext.MinSdk
Expand Down Expand Up @@ -74,46 +71,44 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:1.10.19'
testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:1.10.19'

retrolambdaConfig 'net.orfjackal.retrolambda:retrolambda:2.5.1'
compile 'com.github.danimahardhika.candybar-library:PreLollipopTransitions:3.1.2'
implementation 'com.github.danimahardhika.candybar-library:PreLollipopTransitions:3.1.2'

compile "com.android.support:appcompat-v7:$rootProject.ext.SupportLibrary"
compile "com.android.support:recyclerview-v7:$rootProject.ext.SupportLibrary"
compile "com.android.support:cardview-v7:$rootProject.ext.SupportLibrary"
compile "com.android.support:design:$rootProject.ext.SupportLibrary"
compile "com.android.support:palette-v7:$rootProject.ext.SupportLibrary"
implementation "com.android.support:appcompat-v7:$rootProject.ext.SupportLibrary"
implementation "com.android.support:recyclerview-v7:$rootProject.ext.SupportLibrary"
implementation "com.android.support:cardview-v7:$rootProject.ext.SupportLibrary"
implementation "com.android.support:design:$rootProject.ext.SupportLibrary"
implementation "com.android.support:palette-v7:$rootProject.ext.SupportLibrary"

compile 'com.bluelinelabs:logansquare:1.3.7'
implementation 'com.bluelinelabs:logansquare:1.3.7'
annotationProcessor 'com.bluelinelabs:logansquare-compiler:1.3.7'
compile 'com.jakewharton:butterknife:9.0.0-SNAPSHOT'
implementation 'com.jakewharton:butterknife:9.0.0-SNAPSHOT'
annotationProcessor 'com.jakewharton:butterknife-compiler:9.0.0-SNAPSHOT'

compile 'com.squareup.okhttp3:okhttp:3.9.1'

compile group: 'cz.msebera.android', name: 'httpclient', version: '4.4.1.1'
compile 'uk.co.chrisjenx:calligraphy:2.3.0'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
compile 'com.afollestad.material-dialogs:core:0.9.5.0'
compile 'com.mikhaellopez:circularimageview:3.0.2'
compile 'com.anjlab.android.iab.v3:library:1.0.44'
compile 'com.github.chrisbanes:PhotoView:2.1.3'
compile 'com.google.android.apps.muzei:muzei-api:2.0'
compile 'org.sufficientlysecure:html-textview:3.5'
compile 'com.github.KeepSafe:TapTargetView:1.9.1'
compile 'com.sothree.slidinguppanel:library:3.3.1'
compile 'me.zhanghai.android.materialprogressbar:library:1.4.2'

compile 'com.github.danimahardhika:cafebar:1.3.2'
implementation 'com.squareup.okhttp3:okhttp:3.9.1'

implementation group: 'cz.msebera.android', name: 'httpclient', version: '4.4.1.1'
implementation 'uk.co.chrisjenx:calligraphy:2.3.0'
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
implementation 'com.afollestad.material-dialogs:core:0.9.5.0'
implementation 'com.mikhaellopez:circularimageview:3.0.2'
implementation 'com.anjlab.android.iab.v3:library:1.0.44'
implementation 'com.github.chrisbanes:PhotoView:2.1.3'
implementation 'com.google.android.apps.muzei:muzei-api:2.0'
implementation 'org.sufficientlysecure:html-textview:3.5'
implementation 'com.github.KeepSafe:TapTargetView:1.9.1'
implementation 'com.sothree.slidinguppanel:library:3.3.1'
implementation 'me.zhanghai.android.materialprogressbar:library:1.4.2'

implementation 'com.github.danimahardhika:cafebar:1.3.2'
implementation('com.github.danimahardhika.android-helpers:core:-SNAPSHOT') {
changing = true
}
compile 'com.github.danimahardhika.android-helpers:animation:0.1.0'
compile 'com.github.danimahardhika.android-helpers:license:0.1.0'
compile 'com.github.danimahardhika.android-helpers:permission:0.1.0'
implementation 'com.github.danimahardhika.android-helpers:animation:0.1.0'
implementation 'com.github.danimahardhika.android-helpers:license:0.1.0'
implementation 'com.github.danimahardhika.android-helpers:permission:0.1.0'
}

configurations.all {
Expand Down
Loading