Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

Add to project error #5

Closed
androidmaven opened this issue Oct 11, 2016 · 2 comments
Closed

Add to project error #5

androidmaven opened this issue Oct 11, 2016 · 2 comments

Comments

@androidmaven
Copy link

I tried to add this library as a gradle project, but it gives an error of -
Error:(35, 0) Plugin with id 'com.github.dcendents.android-maven' not found.
Please how do i go about this..Thanks for the amazing library and anticipated support.

@wuapnjie
Copy link
Owner

Oh sorry.This plugin is to upload this lib to jcenter. Just now,I edit the library's build.gradle to minify.

apply plugin: 'com.android.library'

android {
    compileSdkVersion 24
    buildToolsVersion "24.0.2"

    defaultConfig {
        minSdkVersion 9
        targetSdkVersion 24
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    compile 'com.android.support:appcompat-v7:24.2.1'
    testCompile 'junit:junit:4.12'
}

@androidmaven
Copy link
Author

OK, thanks for the update . :) great work you've done bro. Talk to you soonest

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

No branches or pull requests

2 participants