File tree 5 files changed +26
-10
lines changed
5 files changed +26
-10
lines changed Original file line number Diff line number Diff line change
1
+ # Motion Layout
2
+ This is a demo application which demonstrates use of motion layout to create swipeable cards like tinder.
3
+
4
+ <b >Screenshots:</b ><br ><br >
5
+ <img src =" motion.gif " />
Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ apply plugin: 'kotlin-android'
5
5
apply plugin : ' kotlin-android-extensions'
6
6
7
7
android {
8
- compileSdkVersion 29
8
+ compileSdkVersion compileSdkVer
9
9
buildToolsVersion " 29.0.2"
10
10
defaultConfig {
11
11
applicationId " com.developers.motionlayout"
12
- minSdkVersion 15
13
- targetSdkVersion 29
12
+ minSdkVersion minSdkVer
13
+ targetSdkVersion targetSdkVer
14
14
versionCode 1
15
15
versionName " 1.0"
16
16
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
@@ -26,10 +26,10 @@ android {
26
26
dependencies {
27
27
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
28
28
implementation" org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
29
- implementation ' androidx.appcompat:appcompat:1.1.0 '
30
- implementation ' androidx.core:core-ktx:1.1.0 '
29
+ implementation " androidx.appcompat:appcompat:$b uildToolsVer "
30
+ implementation " androidx.core:core-ktx:$c oreKtxVersion "
31
31
implementation ' androidx.constraintlayout:constraintlayout:2.0.0-beta3'
32
- testImplementation ' junit:junit:4.12 '
33
- androidTestImplementation ' androidx.test:runner:1.2.0 '
34
- androidTestImplementation ' androidx.test.espresso:espresso-core:3.2.0 '
32
+ testImplementation " junit:junit:$j unitVer "
33
+ androidTestImplementation " androidx.test:runner:$a ndroidTestRunnerVer "
34
+ androidTestImplementation " androidx.test.espresso:espresso-core:$e spressoCoreVersion "
35
35
}
Original file line number Diff line number Diff line change 1
1
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2
2
3
3
buildscript {
4
- ext. kotlin_version = ' 1.3.61'
4
+ apply from : ' ../dependencies.gradle'
5
+
5
6
repositories {
6
7
google()
7
8
jcenter()
8
9
9
10
}
10
11
dependencies {
11
- classpath ' com.android.tools.build:gradle:3.5.0 '
12
+ classpath " com.android.tools.build:gradle:$a ndroidPluginVer "
12
13
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
13
14
// NOTE: Do not place your application dependencies here; they belong
14
15
// in the individual module build.gradle files
@@ -23,6 +24,10 @@ allprojects {
23
24
}
24
25
}
25
26
27
+ subprojects {
28
+ apply from : ' ../../dependencies.gradle'
29
+ }
30
+
26
31
task clean (type : Delete ) {
27
32
delete rootProject. buildDir
28
33
}
You can’t perform that action at this time.
0 commit comments