build.gradle 1.3 KB
Newer Older
T
Takeya Yuki 已提交
1 2 3 4 5 6 7
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部分项目名
Y
Yuki Takeya 已提交
8
    publishVersion = '2.1.1'    //compile引用时的第3部分版本号
T
Takeya Yuki 已提交
9 10 11 12 13
    desc = 'Ruby Extended Controls - PackageManager'
    website = 'https://github.com/Takeya-Yuki/RubyLib.git'
}

android {
Y
Yuki Takeya 已提交
14 15
    compileSdkVersion 29
    buildToolsVersion "29.0.2"
T
Takeya Yuki 已提交
16 17 18

    defaultConfig {
        minSdkVersion 21
Y
Yuki Takeya 已提交
19
        targetSdkVersion 29
Y
Yuki Takeya 已提交
20
        versionCode 2
T
Takeya Yuki 已提交
21 22
        versionName "2.0"

Y
Yuki Takeya 已提交
23
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
T
Takeya Yuki 已提交
24 25 26 27 28 29 30 31 32 33 34

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

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