-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
72 lines (63 loc) · 2.13 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.versions = [
kotlin: '1.2.50',
android_support: '27.1.1',
rxjava: '2.2.1',
rxandroid: '2.1.0',
rxlifecycle: '2.2.2',
junit: '4.12',
android_test_runner: '1.0.2',
espresso: '3.0.2',
constraint_layout: '1.1.2'
]
ext.product = [
versionCode: 2,
versionName: '0.0.2',
compileSdkVersion: 27,
targetSdkVersion: 27,
minSdkVersion: 19
]
ext.bintray = [
repository: 'maven',
licenses: ['Apache-2.0'],
labels: ['java', 'aar', 'android'],
group: 'jp.s64.android.recyclerview.customitemanimators',
sitUrl: 'https://github.com/S64/android-recyclerview-customitemanimators',
licenseName: 'The Apache Software License, Version 2.0',
licenseUrl: 'https://raw.githubusercontent.com/S64/android-recyclerview-customitemanimators/master/LICENSE',
developerId: 's64',
developerName: 'Shuma Yoshioka',
developerEmail: 's64.stdio@gmail.com',
gitUrl: 'https://github.com/S64/android-recyclerview-customitemanimators',
siteUrl: 'https://github.com/S64/android-recyclerview-customitemanimators'
]
repositories {
google()
jcenter()
maven { url 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
classpath "gradle.plugin.org.jlleitschuh.gradle:ktlint-gradle:5.0.0"
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
}
}
allprojects {
repositories {
google()
jcenter()
maven { url 'http://dl.bintray.com/s64/maven' }
}
apply plugin: 'org.jlleitschuh.gradle.ktlint'
ktlint {
android = true
outputToConsole = true
ignoreFailures = false
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}