18034727885
6 天以前 9ce248f0287e566b26fa73e795599ed27fdea24c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
apply plugin: 'com.android.library'
 
android {
    compileSdkVersion 29
    buildToolsVersion "29.0.3"
 
    testBuildType "debug"
 
    defaultConfig {
        minSdkVersion 21
        targetSdkVersion 29
        versionCode 10
        versionName "1.0.1"
 
        testApplicationId "com.beloo.chipslayoutmanager.test"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
 
    }
    buildTypes {
 
        all {
            buildConfigField("boolean", "isLogEnabled", "false")
        }
 
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
 
        development {
            buildConfigField("boolean", "isLogEnabled", "true")
        }
    }
 
    sourceSets {
        androidTest {
            res.srcDirs = ['src/androidTest/res']
        }
    }
 
}
 
def supportVersion = "25+";
 
dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
 
    compile "com.android.support:appcompat-v7:$supportVersion"
    compile "com.android.support:recyclerview-v7:$supportVersion"
 
    androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
    androidTestCompile 'com.android.support.test:runner:0.5'
    androidTestCompile "com.android.support:support-annotations:$supportVersion"
    androidTestCompile 'pl.pragmatists:JUnitParams:1.0.5'
}