-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathbuild.gradle
More file actions
62 lines (55 loc) · 1.74 KB
/
build.gradle
File metadata and controls
62 lines (55 loc) · 1.74 KB
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
ext {
// Author
developerId = 'davideas'
developerName = 'Davide Steduto'
developerEmail = 'dave.dna@gmail.com'
// Library
publishedGroupId = 'eu.davidea'
artifact = 'flipview'
libraryVersion = '1.2.0'
libraryCode = 6
libraryDate = " of 2018.09.30"
libraryName = 'FlipView'
libraryDescription = 'Flipping views like GMail & beyond'
siteUrl = 'https://github.com/davideas/FlipView'
gitUrl = 'https://github.com/davideas/FlipView.git'
// Android SDK
minSdk = 14
compileSdk = 28
targetSdk = 35
// AndroidX
androidx = [
recyclerView : "androidx.recyclerview:recyclerview:1.2.1",
appCompat : "androidx.appcompat:appcompat:1.2.0",
cardView : "androidx.cardview:cardview:1.0.0",
annotation : "androidx.annotation:annotation:1.1.0",
constraintLayout: "androidx.constraintlayout:constraintlayout:2.1.4"
]
// Google Material
google = [
material: "com.google.android.material:material:1.4.0"
]
// License stuff
licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
}
buildscript {
repositories {
google()
mavenCentral()
mavenLocal()
}
dependencies {
classpath "com.android.tools.build:gradle:7.4.2" // Allows max compatibility to SDK 30
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.26.0' // Max version for AGP 7.4.2
}
}
allprojects {
repositories {
google()
mavenCentral()
mavenLocal()
}
}