Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Rupeshrajsingh opened this issue Sep 18, 2018 · 3 comments

Comments

@Rupeshrajsingh
Copy link

Rupeshrajsingh commented Sep 18, 2018

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
Copy link

Daksh14 commented Sep 25, 2018

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

@Rupeshrajsingh
Copy link
Author

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
Copy link

Daksh14 commented Sep 29, 2018

Add it in the second gradle file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants