为什么神器没有课程?

时间:2016-05-10 07:59:10

标签: android maven gradle libraries jcenter

这是我的模块(Library)build.gradle文件,然后当我尝试使用此行测试时,我上传了我的库 编译'com.abanoub.androidlib:演练:1.0.0:发布@ aar' 该工件没有类.. 请帮助:)

apply plugin: 'com.android.library'

ext {
    bintrayRepo = 'maven'
    bintrayName = 'walkthrough'

    publishedGroupId = 'com.abanoub.androidlib'
    libraryName = 'Walkthrough'
    artifact = 'walkthrough'

    libraryDescription = 'A simple android library to make a simple walkthrough activity'

    siteUrl = 'https://github.com/AbanoubAsaad/Walkthrough'
    gitUrl = 'https://github.com/AbanoubAsaad/Walkthrough.git'

    libraryVersion = '1.0.2'

    developerId = 'abanoubasaad'
    developerName = 'Abanoub Samaan'
    developerEmail = 'abanoub_samaan@hotmail.com'

    licenseName = 'The Apache Software License, Version 2.0'
    licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
    allLicenses = ["Apache-2.0"]
}

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.2"
    publishNonDefault true

   defaultConfig {
        minSdkVersion 14
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:23.1.1'
}
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'

0 个答案:

没有答案