-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
111 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,6 @@ | ||
buildscript { | ||
ext.kotlin_version = '1.5.31' | ||
repositories { | ||
google() | ||
mavenCentral() | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:7.0.3' | ||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | ||
} | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
google() | ||
mavenCentral() | ||
} | ||
} | ||
|
||
task clean(type: Delete) { | ||
delete rootProject.buildDir | ||
plugins { | ||
id 'com.android.application' version '7.2.1' apply false | ||
id 'com.android.library' version '7.2.1' apply false | ||
id "com.diffplug.spotless" version "6.7.2" apply false | ||
id 'org.jetbrains.kotlin.android' version '1.7.0' apply false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Sat Feb 27 23:00:16 JST 2021 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip | ||
distributionPath=wrapper/dists | ||
zipStorePath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"extends": [ | ||
"config:base" | ||
], | ||
"dependencyDashboard": true, | ||
"packageRules": [ | ||
{ | ||
"groupName": "Android Gradle Plugin", | ||
"matchPackagePatterns": [ | ||
"com\\.android\\.application", | ||
"com\\.android\\.library" | ||
] | ||
}, | ||
{ | ||
"groupName": "Kotlin", | ||
"matchPackagePatterns": [ | ||
"^org\\.jetbrains\\.kotlin" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
sample/src/main/java/com/wada811/databindingktx/DataBindingActivity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
sample/src/main/java/com/wada811/databindingktx/DataBindingFragment.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
Sample data extraction rules file; uncomment and customize as necessary. | ||
See https://developer.android.com/about/versions/12/backup-restore#xml-changes | ||
for details. | ||
--> | ||
<data-extraction-rules> | ||
<cloud-backup> | ||
<!-- | ||
TODO: Use <include> and <exclude> to control what is backed up. | ||
The domain can be file, database, sharedpref, external or root. | ||
Examples: | ||
<include domain="file" path="file_to_include"/> | ||
<exclude domain="file" path="file_to_exclude"/> | ||
<include domain="file" path="include_folder"/> | ||
<exclude domain="file" path="include_folder/file_to_exclude"/> | ||
<exclude domain="file" path="exclude_folder"/> | ||
<include domain="file" path="exclude_folder/file_to_include"/> | ||
<include domain="sharedpref" path="include_shared_pref1.xml"/> | ||
<include domain="database" path="db_name/file_to_include"/> | ||
<exclude domain="database" path="db_name/include_folder/file_to_exclude"/> | ||
<include domain="external" path="file_to_include"/> | ||
<exclude domain="external" path="file_to_exclude"/> | ||
<include domain="root" path="file_to_include"/> | ||
<exclude domain="root" path="file_to_exclude"/> | ||
--> | ||
</cloud-backup> | ||
<!-- | ||
<device-transfer> | ||
<include .../> | ||
<exclude .../> | ||
</device-transfer> | ||
--> | ||
</data-extraction-rules> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,17 @@ | ||
pluginManagement { | ||
repositories { | ||
gradlePluginPortal() | ||
google() | ||
mavenCentral() | ||
} | ||
} | ||
dependencyResolutionManagement { | ||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) | ||
repositories { | ||
google() | ||
mavenCentral() | ||
} | ||
} | ||
rootProject.name = "DataBinding-ktx" | ||
include ':DataBinding-ktx' | ||
include ':sample' |