forked from microg/GmsCore
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
81 lines (66 loc) · 1.98 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
/*
* SPDX-FileCopyrightText: 2013 microG Project Team
* SPDX-License-Identifier: Apache-2.0
*/
buildscript {
ext.cronetVersion = '102.5005.125'
ext.nlpVersion = '2.0-alpha10'
ext.safeParcelVersion = '1.7.0'
ext.wearableVersion = '0.1.1'
ext.kotlinVersion = '1.7.10'
ext.coroutineVersion = '1.6.4'
ext.annotationVersion = '1.3.0'
ext.appcompatVersion = '1.4.2'
ext.biometricVersion = '1.1.0'
ext.coreVersion = '1.8.0'
ext.fragmentVersion = '1.5.1'
ext.lifecycleVersion = '2.5.1'
ext.loaderVersion = '1.1.0'
ext.mediarouterVersion = '1.3.1'
ext.multidexVersion = '2.0.1'
ext.navigationVersion = '2.5.1'
ext.preferenceVersion = '1.2.0'
ext.recyclerviewVersion = '1.2.0'
ext.webkitVersion = '1.4.0'
ext.slf4jVersion = '1.7.36'
ext.volleyVersion = '1.2.1'
ext.wireVersion = '4.4.1'
ext.androidBuildGradleVersion = '7.2.1'
ext.androidBuildVersionTools = '33.0.0'
ext.androidMinSdk = 14
ext.androidTargetSdk = 29
ext.androidCompileSdk = 31
repositories {
mavenCentral()
google()
}
dependencies {
classpath "com.android.tools.build:gradle:$androidBuildGradleVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "com.squareup.wire:wire-gradle-plugin:$wireVersion"
}
}
def execResult(...args) {
def stdout = new ByteArrayOutputStream()
exec {
commandLine args
standardOutput = stdout
}
return stdout.toString().trim()
}
def ourVersionCode = (((System.currentTimeMillis() / 1000) - 1660000000) / 10).toInteger()
def ourVersionName = ext.nlpVersion
logger.lifecycle('Starting build for version {} ({})...', ourVersionName, ourVersionCode)
allprojects {
apply plugin: 'idea'
group = 'org.microg.gms'
version = ourVersionName
ext.appVersionCode = ourVersionCode
ext.isReleaseVersion = false
}
subprojects {
repositories {
mavenCentral()
google()
}
}