This repository has been archived by the owner on Jun 21, 2024. It is now read-only.
forked from shwenzhang/AndResGuard
-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathbuild.gradle
54 lines (46 loc) · 1.49 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.3'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.18.0'
}
}
allprojects {
plugins.withId("com.vanniktech.maven.publish") {
mavenPublish {
sonatypeHost = "S01"
}
}
if (it.name != "AndResGuard-cli") apply plugin: "com.vanniktech.maven.publish"
repositories {
google()
mavenCentral()
}
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_1_8
GROUP = 'io.github.leon406'
VERSION_NAME = "${ANDRESGUARD_VESSION}"
POM_PACKAGING = "pom"
POM_DESCRIPTION = "Android Resource Proguard Core Lib"
POM_URL = "https://github.com/Leon406/AndResGuard"
POM_SCM_URL = "https://github.com/Leon406/AndResGuard.git"
POM_ISSUE_URL = 'https://github.com/Leon406/AndResGuard/issues'
POM_LICENCE_NAME = "Apache-2.0"
POM_LICENCE_URL = "http://www.apache.org/licenses/"
POM_LICENCE_DIST = "repo"
POM_DEVELOPER_ID = "Leon"
POM_DEVELOPER_NAME = "Leon"
}