build.gradle 1.3 KB
Newer Older
T
Takeya Yuki 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14
apply plugin: 'com.android.library'
apply plugin: 'com.novoda.bintray-release'

publish {
    userOrg = 'takeya-yuki-studio'      //bintray注册的用户名
    groupId = 'jp.ruby.rubylib'         //compile引用时的第1部分groupId
    artifactId = 'packagemanager'     //compile引用时的第2部分项目名
    publishVersion = '2.0.1'    //compile引用时的第3部分版本号
    desc = 'Ruby Extended Controls - PackageManager'
    website = 'https://github.com/Takeya-Yuki/RubyLib.git'
}

android {
    compileSdkVersion 26
15
    buildToolsVersion "26.0.2"
T
Takeya Yuki 已提交
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34

    defaultConfig {
        minSdkVersion 21
        targetSdkVersion 26
        versionCode 1
        versionName "2.0"

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

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

dependencies {
R
Ruby Kurosawa 已提交
35 36
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
T
Takeya Yuki 已提交
37 38
        exclude group: 'com.android.support', module: 'support-annotations'
    })
R
Ruby Kurosawa 已提交
39 40 41
    implementation 'com.android.support:appcompat-v7:26.+'
    testImplementation 'junit:junit:4.12'
    implementation project(':ajaxlib')
T
Takeya Yuki 已提交
42
}