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



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

T
Takeya Yuki 已提交
15 16 17

android {
    compileSdkVersion 26
T
Fix  
Takeya Yuki 已提交
18
    buildToolsVersion "26.0.1"
T
Takeya Yuki 已提交
19 20

    defaultConfig {
T
Takeya Yuki 已提交
21
        minSdkVersion 21
T
Takeya Yuki 已提交
22
        targetSdkVersion 26
23
        versionCode 9
T
Takeya Yuki 已提交
24
        versionName "1.0.10"
T
Takeya Yuki 已提交
25 26 27 28 29 30 31 32 33 34 35 36 37 38

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

    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            versionNameSuffix '1.0'
        }
        debug {
            versionNameSuffix '1.0'
        }
    }
T
Takeya Yuki 已提交
39

T
Takeya Yuki 已提交
40 41 42 43 44 45 46 47
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    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:26.+'
T
Takeya Yuki 已提交
48
    compile 'com.google.code.gson:gson:2.8.1'
T
Takeya Yuki 已提交
49 50
    testCompile 'junit:junit:4.12'
}