-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
37 lines (32 loc) · 987 Bytes
/
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.0.0'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.26.0'
}
}
allprojects {
tasks.withType(JavaCompile) {
sourceCompatibility = rootProject.ext.javaVersion
targetCompatibility = rootProject.ext.javaVersion
}
tasks.withType(GroovyCompile) {
sourceCompatibility = rootProject.ext.javaVersion
targetCompatibility = rootProject.ext.javaVersion
}
}
ext {
javaVersion = JavaVersion.VERSION_17
POM_PACKAGING = "pom"
POM_DESCRIPTION = "Android Resource Proguard Core Lib"
versionName = "1.1.4.11"
// 默认 false, true 代表推远程maven仓
publishToServer = false
groupID = "com.xluo.plugin"
// aar local path
localPath = './repo'
}