This repository has been archived by the owner on Jun 26, 2024. It is now read-only.
forked from shwenzhang/AndResGuard
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpublish.gradle
51 lines (51 loc) · 1.55 KB
/
publish.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
apply plugin: 'maven-publish'
apply plugin: 'signing'
afterEvaluate {
publishing {
repositories {
maven {
url = localRepo
}
}
publications {
release(MavenPublication) {
from components.java
pom {
name = aarId
artifactId = aarId
groupId = groupID
version = versionName
description = 'proguard resource for Android by wechat team. 迁移到Gradle 8+'
url = 'https://github.com/lalakii/AndResGuard'
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
name = 'lalakii'
}
}
scm {
connection = 'scm:git:https://github.com/lalakii/AndResGuard.git'
url = 'https://github.com/lalakii/AndResGuard'
}
organization {
name = "lalaki.cn"
url = "https://github.com/lalakii"
}
}
}
}
}
}
java {
withSourcesJar()
withJavadocJar()
}
signing {
useGpgCmd()
sign publishing.publications
}