This repository was archived by the owner on Jan 2, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +29
-23
lines changed
buildSrc/src/main/java/gradle
multi-view-adapter-databinding Expand file tree Collapse file tree 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
1616The Gradle dependency is available via [ JCenter] ( https://bintray.com/devahamed/MultiViewAdapter/multi-view-adapter/view ) .
1717JCenter is the default maven repository used by Android Studio.
1818
19- The minimum API level supported by this library is API 9 .
19+ The minimum API level supported by this library is API 14 .
2020
2121``` gradle
2222dependencies {
23- compile 'com.github.devahamed:multi-view-adapter:1.2.3 '
23+ compile 'com.github.devahamed:multi-view-adapter:1.3.0 '
2424
2525 // 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 '
2727}
2828```
2929
Original file line number Diff line number Diff line change @@ -4,8 +4,9 @@ buildscript {
44 google()
55 }
66 dependencies {
7- classpath ' com.android.tools.build:gradle:3.0.0 '
7+ classpath ' com.android.tools.build:gradle:3.1.4 '
88 classpath ' com.novoda:bintray-release:0.7.0'
9+ classpath ' org.jacoco:org.jacoco.core:0.8.1'
910 }
1011}
1112
Original file line number Diff line number Diff line change 1818
1919public class Config {
2020
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 ;
2323 public static final int TARGET_SDK = COMPILE_SDK ;
2424
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 ;
2727
28- private static final String SUPPORT_LIB_VERSION = "25.4 .0" ;
28+ private static final String SUPPORT_LIB_VERSION = "28.0 .0" ;
2929 private static final String SUPPORT = "com.android.support:" ;
3030
3131 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
1515# This option should only be used with decoupled projects. More details, visit
1616# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1717
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
22distributionPath =wrapper/dists
33zipStoreBase =GRADLE_USER_HOME
44zipStorePath =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 {
4242 implementation project(' :multi-view-adapter' )
4343 implementation Config . RECYCLER_VIEW
4444
45- compileOnly(' com.android.databinding:library:1.3.1 ' ) {
45+ compileOnly(' com.android.databinding:library:3.2.0 ' ) {
4646 transitive = false
4747 }
48- compileOnly(' com.android.databinding:baseLibrary:2. 3.2' ) {
48+ compileOnly(' com.android.databinding:baseLibrary:3.2.0 ' ) {
4949 transitive = false
5050 }
5151}
Original file line number Diff line number Diff line change @@ -21,7 +21,11 @@ apply plugin: 'com.novoda.bintray-release'
2121apply plugin : ' jacoco'
2222
2323jacoco {
24- toolVersion = " 0.7.4.201502262128"
24+ toolVersion = " 0.8.1"
25+ }
26+
27+ tasks. withType(Test ) {
28+ jacoco. includeNoLocationClasses = true
2529}
2630
2731task jacocoTestReport (type : JacocoReport ,
@@ -65,10 +69,8 @@ android {
6569 }
6670
6771 testOptions {
68- unitTests. all {
69- jacoco {
70- includeNoLocationClasses = true
71- }
72+ unitTests {
73+ includeAndroidResources = true
7274 }
7375 }
7476}
Original file line number Diff line number Diff line change @@ -43,15 +43,15 @@ android {
4343}
4444
4545dependencies {
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' )
4848
4949 implementation Config . APP_COMPAT
5050 implementation Config . RECYCLER_VIEW
5151 implementation Config . CARD_VIEW
5252 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 '
5454
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"
5757}
You can’t perform that action at this time.
0 commit comments