-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
66 lines (54 loc) · 1.7 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
buildscript {
ext.kotlin_version = '1.3.41'//kotlin的版本
repositories {
// google()
maven {
url 'https://maven.google.com'
}
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.dicedmelon.gradle:jacoco-android:0.1.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
ext {
bintrayRepo = 'maven'
publishedGroupId = 'com.github.mjdev'
libraryName = 'libaums'
// artifact comes from module as well as libraryVersion
//artifact = 'libaums'
libraryDescription = 'Android USB mass storage library with FAT32 support.'
siteUrl = 'https://github.com/mjdev/libaums'
gitUrl = 'https://github.com/mjdev/libaums.git'
developerId = 'mjdev'
developerName = 'mjahnen'
developerEmail = '[email protected]'
licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
}
allprojects {
repositories {
google()
maven {
url 'https://maven.google.com'
}
maven{url "https://jitpack.io"}
maven {url 'http://developer.huawei.com/repo/'}
// 添加下面的内容
flatDir {
dirs 'libs'
}
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}