0

これは私のモジュール (ライブラリ) の build.gradle ファイルであり、ライブラリをアップロードしてから、この行を使用してテストしようとすると、「com.abanoub.androidlib:walkthrough:1.0.0:release@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'
4

0 に答える 0