forked from anthonysidesap/fluentui-android
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild.gradle
More file actions
71 lines (65 loc) · 2.01 KB
/
Copy pathbuild.gradle
File metadata and controls
71 lines (65 loc) · 2.01 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
63
64
65
66
67
68
69
70
71
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
apply plugin: 'io.codearte.nexus-staging'
buildscript {
ext.kotlin_version = '1.4.30'
ext.nexus_plugin_version = '0.30.0'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:$nexus_plugin_version"
}
}
allprojects {
project.ext {
constants = [
minSdkVersion: 21,
targetSdkVersion: 28,
compileSdkVersion: 28,
]
buildToolVersion = '29.0.3'
kotlin_version = '1.4.30'
appCompatVersion = '1.2.0'
materialVersion = '1.3.0'
supportVersion = '28.0.0'
recyclerViewVersion = '1.1.0'
junitVersion = '4.12'
extJunitVersion = '1.1.2'
espressoVersion = '3.3.0'
roboelectricVersion = '4.4'
constraintLayoutVersion = '2.0.4'
exifInterfaceVersion = '1.3.2'
duoVersion = '1.0.0-alpha01'
tokenautocompleteVersion = '2.0.8'
threetenabpVersion = '1.1.0'
universalPkgDir = "universal"
}
repositories {
google()
jcenter()
maven {
url "https://pkgs.dev.azure.com/MicrosoftDeviceSDK/DuoSDK-Public/_packaging/Duo-SDK-Feed/maven/v1"
}
}
}
task makeUniversalPkg(type: Copy) {
from('.')
include('**/*.aar')
exclude('**/FluentUI-release.aar')
exclude("$universalPkgDir")
into("$rootDir/$universalPkgDir/libs")
includeEmptyDirs = false
eachFile {
path = name
}
rename '(.+)-release', '$1'
}
task clean(type: Delete) {
delete rootProject.buildDir
}