This repository was archived by the owner on Jan 2, 2021. It is now read-only.
File tree 8 files changed +29
-23
lines changed
buildSrc/src/main/java/gradle
multi-view-adapter-databinding
8 files changed +29
-23
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ Helper library for recyclerviews to create composable view holders without boile
16
16
The Gradle dependency is available via [ JCenter] ( https://bintray.com/devahamed/MultiViewAdapter/multi-view-adapter/view ) .
17
17
JCenter is the default maven repository used by Android Studio.
18
18
19
- The minimum API level supported by this library is API 9 .
19
+ The minimum API level supported by this library is API 14 .
20
20
21
21
``` gradle
22
22
dependencies {
23
- compile 'com.github.devahamed:multi-view-adapter:1.2.3 '
23
+ compile 'com.github.devahamed:multi-view-adapter:1.3.0 '
24
24
25
25
// If you want to use data binding
26
- compile 'com.github.devahamed:multi-view-adapter-databinding:1.2.3 '
26
+ compile 'com.github.devahamed:multi-view-adapter-databinding:1.3.0 '
27
27
}
28
28
```
29
29
Original file line number Diff line number Diff line change @@ -4,8 +4,9 @@ buildscript {
4
4
google()
5
5
}
6
6
dependencies {
7
- classpath ' com.android.tools.build:gradle:3.0.0 '
7
+ classpath ' com.android.tools.build:gradle:3.1.4 '
8
8
classpath ' com.novoda:bintray-release:0.7.0'
9
+ classpath ' org.jacoco:org.jacoco.core:0.8.1'
9
10
}
10
11
}
11
12
Original file line number Diff line number Diff line change 18
18
19
19
public class Config {
20
20
21
- public static final int MIN_SDK = 9 ;
22
- public static final int COMPILE_SDK = 25 ;
21
+ public static final int MIN_SDK = 14 ;
22
+ public static final int COMPILE_SDK = 28 ;
23
23
public static final int TARGET_SDK = COMPILE_SDK ;
24
24
25
- public static final String VERSION_NAME = "1.2.6 " ;
26
- public static final int VERSION_CODE = 126 ;
25
+ public static final String VERSION_NAME = "1.3.0 " ;
26
+ public static final int VERSION_CODE = 130 ;
27
27
28
- private static final String SUPPORT_LIB_VERSION = "25.4 .0" ;
28
+ private static final String SUPPORT_LIB_VERSION = "28.0 .0" ;
29
29
private static final String SUPPORT = "com.android.support:" ;
30
30
31
31
public static final String APP_COMPAT = SUPPORT + "appcompat-v7:" + SUPPORT_LIB_VERSION ;
Original file line number Diff line number Diff line change @@ -15,4 +15,7 @@ org.gradle.jvmargs=-Xmx1536m
15
15
# This option should only be used with decoupled projects. More details, visit
16
16
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17
17
18
- org.gradle.parallel =true
18
+ org.gradle.parallel =true
19
+
20
+
21
+ android.databinding.enableV2 =true
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
3
zipStoreBase =GRADLE_USER_HOME
4
4
zipStorePath =wrapper/dists
5
- distributionUrl =https\://services.gradle.org/distributions/gradle-4.1 -all.zip
5
+ distributionUrl =https\://services.gradle.org/distributions/gradle-4.4 -all.zip
Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ dependencies {
42
42
implementation project(' :multi-view-adapter' )
43
43
implementation Config . RECYCLER_VIEW
44
44
45
- compileOnly(' com.android.databinding:library:1.3.1 ' ) {
45
+ compileOnly(' com.android.databinding:library:3.2.0 ' ) {
46
46
transitive = false
47
47
}
48
- compileOnly(' com.android.databinding:baseLibrary:2. 3.2' ) {
48
+ compileOnly(' com.android.databinding:baseLibrary:3.2.0 ' ) {
49
49
transitive = false
50
50
}
51
51
}
Original file line number Diff line number Diff line change @@ -21,7 +21,11 @@ apply plugin: 'com.novoda.bintray-release'
21
21
apply plugin : ' jacoco'
22
22
23
23
jacoco {
24
- toolVersion = " 0.7.4.201502262128"
24
+ toolVersion = " 0.8.1"
25
+ }
26
+
27
+ tasks. withType(Test ) {
28
+ jacoco. includeNoLocationClasses = true
25
29
}
26
30
27
31
task jacocoTestReport (type : JacocoReport ,
@@ -65,10 +69,8 @@ android {
65
69
}
66
70
67
71
testOptions {
68
- unitTests. all {
69
- jacoco {
70
- includeNoLocationClasses = true
71
- }
72
+ unitTests {
73
+ includeAndroidResources = true
72
74
}
73
75
}
74
76
}
Original file line number Diff line number Diff line change @@ -43,15 +43,15 @@ android {
43
43
}
44
44
45
45
dependencies {
46
- compile project(' :multi-view-adapter' )
47
- compile project(' :multi-view-adapter-databinding' )
46
+ implementation project(' :multi-view-adapter' )
47
+ implementation project(' :multi-view-adapter-databinding' )
48
48
49
49
implementation Config . APP_COMPAT
50
50
implementation Config . RECYCLER_VIEW
51
51
implementation Config . CARD_VIEW
52
52
implementation Config . DESIGN
53
- compile ' com.android.support.constraint:constraint-layout:1.0.2 '
53
+ implementation ' com.android.support.constraint:constraint-layout:1.1.3 '
54
54
55
- debugCompile " com.github.brianPlummer:tinydancer:0.1.0"
56
- releaseCompile " com.github.brianPlummer:tinydancer-noop:0.1.0"
55
+ debugImplementation " com.github.brianPlummer:tinydancer:0.1.0"
56
+ releaseImplementation " com.github.brianPlummer:tinydancer-noop:0.1.0"
57
57
}
You can’t perform that action at this time.
0 commit comments