cesarferreira / drone

:cake: The missing library manager for Android Developers
http://cesarferreira.com/drone/
MIT License
517 stars 30 forks source link

Add to wrong place #15

Closed YuYongzhi closed 6 years ago

YuYongzhi commented 7 years ago

Hi, I tried to add rxjava2, like this

drone add reactivex/rxjava2 my_module

but the result is

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile "com.android.support:appcompat-v7:${supportVersion}"
    compile "com.android.support:design:${supportVersion}"
    compile "com.android.support:support-v13:${supportVersion}"
    compile "com.android.support:recyclerview-v7:${supportVersion}"
    compile 'com.android.support.constraint:constraint-layout:1.0.2'
    compile 'com.android.support:multidex:1.0.1'
    ...

}
    compile 'io.reactivex.rxjava2:rxjava:2.1.5'

not in dependencies part like this

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile "com.android.support:appcompat-v7:${supportVersion}"
    compile "com.android.support:design:${supportVersion}"
    compile "com.android.support:support-v13:${supportVersion}"
    compile "com.android.support:recyclerview-v7:${supportVersion}"
    compile 'com.android.support.constraint:constraint-layout:1.0.2'
    compile 'com.android.support:multidex:1.0.1'
    ...
    compile 'io.reactivex.rxjava2:rxjava:2.1.5'
}
cesarferreira commented 7 years ago

hmm, it should be due to this: ${supportVersion}, it shouldn't confuse him but there must be something there, i'll look into it, thanks ;)

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.