-
Notifications
You must be signed in to change notification settings - Fork 303
/
Copy pathbuild.gradle
55 lines (51 loc) · 1.53 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.configs = [
version: "2.0.4",
groupId: "com.github.takusemba",
artifactId: "multisnaprecyclerview",
description: "Android library for multiple snapping of RecyclerView.",
siteUrl: "https://github.com/TakuSemba/MultiSnapRecyclerView",
gitUrl: "https://github.com/TakuSemba/MultiSnapRecyclerView.git",
developerId: "takusemba",
developerName: "TakuSemba",
developerEmail: "[email protected]",
licenseName: "The Apache Software License, Version 2.0",
licenseUrl: "http://www.apache.org/licenses/LICENSE-2.0.txt",
compileSdkVersion: 30,
minSdkVersion: 14,
targetSdkVersion: 30,
]
ext.versions = [
kotlin: '1.4.31',
]
ext.deps = [
androidPlugin: "com.android.tools.build:gradle:4.0.1",
kotlin: [
plugin: "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}",
stdlib: "org.jetbrains.kotlin:kotlin-stdlib:${versions.kotlin}",
],
androidx: [
appcompat: "androidx.appcompat:appcompat:1.2.0",
recyclerview: "androidx.recyclerview:recyclerview:1.1.0",
cardview: "androidx.cardview:cardview:1.0.0",
],
]
repositories {
jcenter()
google()
}
dependencies {
classpath deps.androidPlugin
classpath deps.kotlin.plugin
}
}
allprojects {
repositories {
jcenter()
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}