-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
102 lines (86 loc) · 2.58 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.3.61'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.3'
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.3.3'
}
}
allprojects {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
maven {
url "https://dl.bintray.com/smartnsoft/maven"
}
if (findProperty("nexusRepositoryUrl") != null)
{
maven
{
credentials
{
username nexusUsername
password nexusPassword
}
url nexusRepositoryUrl
}
}
}
ext
{
compileSdkVersion = 28
minSdkVersion = 16
logger_version = "1.0.0"
core_ktx_version = '1.1.0'
// Needed to fix a crash with Webviews on Android 5.0
// It should be fixed with 1.2.0-alpha02
// cf. https://issuetracker.google.com/issues/141132133
// && https://issuetracker.google.com/issues/141351441
appcompat_version = '1.1.0-rc01'
constraint_version = '1.1.3'
annotation_version = '1.1.0'
// JSON
retrofit_library_version = '2.7.1'
moshi_version = '1.9.2'
// Remote Config
coroutines_version = "1.1.1"
firebase_config_version = '19.1.0'
groupId = 'com.smartnsoft'
artifactId = 'smartapprating'
libraryName = "SmartAppRating"
repositoryName = "SmartAppRating-android"
coreArtifactDescription = "SmartAppRating is a simple library to ask user to rate your app if some conditions are met"
jsonArtifactDescription = "SmartAppRating-json is a module of SmartAppRating which adds configuration via a remote json"
remoteConfigArtifactDescription = "SmartAppRating-remoteconfig is a module of SmartAppRating which adds configuration via Firebase RemoteConfig"
documentationReference = [
"http://docs.oracle.com/javase/7/docs/api/",
"http://d.android.com/reference/"
]
coreVersionName = "2.0.0"
jsonVersionName = "2.0.0"
remoteConfigVersionName = "2.0.1"
versionCode = 6
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
task releaseCore(dependsOn: [':core:uploadArchives']) {
}
task releaseRemoteConfig(dependsOn: [':remoteconfig:uploadArchives']) {
}
task releaseJson(dependsOn: [':remotejson:uploadArchives']) {
}
task releaseAll(dependsOn:
['releaseCore',
'releaseRemoteConfig',
'releaseJson',
]) {
}