diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..85e7c1d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.idea/ diff --git a/BasicSample/app/build.gradle b/BasicSample/app/build.gradle index d3d9876..bfdadcf 100644 --- a/BasicSample/app/build.gradle +++ b/BasicSample/app/build.gradle @@ -39,6 +39,9 @@ android { proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } + lintOptions { + disable 'GoogleAppIndexingWarning' + } dataBinding { enabled true } diff --git a/BasicSample/app/src/main/AndroidManifest.xml b/BasicSample/app/src/main/AndroidManifest.xml index c20a620..5d1b6e3 100644 --- a/BasicSample/app/src/main/AndroidManifest.xml +++ b/BasicSample/app/src/main/AndroidManifest.xml @@ -19,7 +19,7 @@ package="com.example.android.databinding.basicsample"> BasicSample Likes - TextView - NAME - LAST NAME Last name Name Profile\'s avatar diff --git a/BasicSample/build.gradle b/BasicSample/build.gradle index 54b379a..5fa3718 100644 --- a/BasicSample/build.gradle +++ b/BasicSample/build.gradle @@ -17,23 +17,20 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.3.21' + ext.kotlin_version = '1.3.50' repositories { google() jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:3.3.2' + classpath 'com.android.tools.build:gradle:3.5.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - - // NOTE: Do not place your application dependencies here; they belong - // in the individual module build.gradle files } ext { // SDK and tools - compileSdkVersion = 28 + compileSdkVersion = 29 minSdkVersion = 21 - targetSdkVersion = 28 + targetSdkVersion = 29 // App dependencies androidXTestVersion = '1.1.1' @@ -45,9 +42,9 @@ buildscript { kotlinVersion = '1.3.21' runnerExtVersion = '1.1.0' rulesVersion = '1.0.1' - appCompatVersion = '1.0.2' + appCompatVersion = '1.1.0' supportLibraryVersion = '1.0.2' - archLifecycleVersion = '2.1.0-alpha03' + archLifecycleVersion = '2.2.0-rc01' } } diff --git a/BasicSample/gradle.properties b/BasicSample/gradle.properties index 4cae328..6b08733 100644 --- a/BasicSample/gradle.properties +++ b/BasicSample/gradle.properties @@ -33,3 +33,6 @@ org.gradle.jvmargs=-Xmx1536m # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true + +android.databinding.incremental=true +android.lifecycleProcessor.incremental=true diff --git a/BasicSample/gradle/wrapper/gradle-wrapper.properties b/BasicSample/gradle/wrapper/gradle-wrapper.properties index 76ad7e3..2ff738a 100644 --- a/BasicSample/gradle/wrapper/gradle-wrapper.properties +++ b/BasicSample/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip diff --git a/TwoWaySample/app/build.gradle b/TwoWaySample/app/build.gradle index d3d9876..0861376 100644 --- a/TwoWaySample/app/build.gradle +++ b/TwoWaySample/app/build.gradle @@ -39,6 +39,9 @@ android { proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } + lintOptions { + disable 'Autofill', 'GoogleAppIndexingWarning', 'LabelFor' + } dataBinding { enabled true } @@ -49,7 +52,6 @@ dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion" implementation "androidx.appcompat:appcompat:$appCompatVersion" implementation "androidx.constraintlayout:constraintlayout:$constraintLayoutVersion" - implementation "androidx.lifecycle:lifecycle-extensions:$archLifecycleVersion" testImplementation "junit:junit:$junitVersion" diff --git a/TwoWaySample/app/src/main/AndroidManifest.xml b/TwoWaySample/app/src/main/AndroidManifest.xml index 365374c..df453a6 100644 --- a/TwoWaySample/app/src/main/AndroidManifest.xml +++ b/TwoWaySample/app/src/main/AndroidManifest.xml @@ -19,7 +19,7 @@ package="com.example.android.databinding.twowaysample"> { // Converts String to long diff --git a/TwoWaySample/app/src/main/res/values/strings.xml b/TwoWaySample/app/src/main/res/values/strings.xml index c72f5e0..a7c408f 100644 --- a/TwoWaySample/app/src/main/res/values/strings.xml +++ b/TwoWaySample/app/src/main/res/values/strings.xml @@ -21,7 +21,7 @@ Pause - + - Sets: %d/%d + Sets: %d/%d SHARED_PREFS_TIMEPERWORKSET SHARED_PREFS_TIMEPERRESTSET SHARED_PREFS_NUMBEROFSETS diff --git a/TwoWaySample/build.gradle b/TwoWaySample/build.gradle index 704200b..c39ce44 100644 --- a/TwoWaySample/build.gradle +++ b/TwoWaySample/build.gradle @@ -19,23 +19,23 @@ buildscript { ext { // SDK and tools - compileSdkVersion = 28 + compileSdkVersion = 29 minSdkVersion = 21 - targetSdkVersion = 28 + targetSdkVersion = 29 // App dependencies androidXTestVersion = '1.1.1' constraintLayoutVersion = '1.1.3' espressoVersion = '3.1.0-alpha4' - gradleVersion = '3.3.1' + gradleVersion = '3.5.1' junitVersion = '4.12' hamcrestVersion = '1.3' - kotlinVersion = '1.3.21' + kotlinVersion = '1.3.50' runnerExtVersion = '1.1.0' rulesVersion = '1.0.1' - appCompatVersion = '1.0.2' + appCompatVersion = '1.1.0' supportLibraryVersion = '1.0.2' - archLifecycleVersion = '2.1.0-alpha03' + archLifecycleVersion = '2.2.0-rc01' } repositories { diff --git a/TwoWaySample/gradle.properties b/TwoWaySample/gradle.properties index 4cae328..2a1b5d4 100644 --- a/TwoWaySample/gradle.properties +++ b/TwoWaySample/gradle.properties @@ -32,4 +32,4 @@ org.gradle.jvmargs=-Xmx1536m # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true +# org.gradle.parallel=true \ No newline at end of file diff --git a/TwoWaySample/gradle/wrapper/gradle-wrapper.properties b/TwoWaySample/gradle/wrapper/gradle-wrapper.properties index 1d894de..bf38027 100644 --- a/TwoWaySample/gradle/wrapper/gradle-wrapper.properties +++ b/TwoWaySample/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Fri Mar 29 14:34:40 CET 2019 +#Fri Oct 25 03:39:52 CEST 2019 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip