mancj / SlideUp-Android

SlideUp is a small library that allows you to add sweet slide effect to any view.
MIT License
1.64k stars 207 forks source link

issues in using library "com.github.mancj:SlideUp-Android:$current_version" #66

Open Rupeshrajsingh opened 6 years ago

Rupeshrajsingh commented 6 years ago

ifile:- build-gradle(project:reaction) buildscript {

repositories {
    google()
    jcenter()
    mavenCentral()
    maven { url 'https://jitpack.io' }

}
dependencies {
    classpath 'com.android.tools.build:gradle:3.1.4'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}

}

allprojects { repositories { google() jcenter() mavenCentral() } }

task clean(type: Delete) { delete rootProject.buildDir }

file:- build-gradle ( module:app)

apply plugin: 'com.android.application'

android { compileSdkVersion 28 defaultConfig { applicationId "com.technetty.reaction" minSdkVersion 15 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } }

dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) //noinspection GradleCompatible implementation 'com.android.support:appcompat-v7:28.0.0-rc02' implementation 'com.android.support.constraint:constraint-layout:1.1.2' implementation 'com.android.support:design:28.0.0-rc01' implementation 'com.android.support:support-v4:28.0.0-rc02' testImplementation 'junit:junit:4.12' implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.+' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' implementation 'com.facebook.android:facebook-login:[4,5)'

<---- this line have error in "$current_version" i tryed $current_version= v2.2.8----> // implementation "com.github.mancj:SlideUp-Android:$current_version" }

Daksh14 commented 6 years ago

use implementation "com.github.mancj:SlideUp-Android:2.2.8"

Rupeshrajsingh commented 6 years ago

Yes, i use implementation 'com.github.mancj:SlideUp-Android:2.2.8' but still it's not work Failed to resolve: com.github.mancj:SlideUp-Android:2.2.8

Daksh14 commented 6 years ago

Add it in the second gradle file