mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-06 02:35:40 +08:00
37 lines
1.3 KiB
Groovy
37 lines
1.3 KiB
Groovy
//file:noinspection unused
|
|
plugins {
|
|
id 'com.android.application' version '7.1.1' apply false
|
|
id 'com.android.library' version '7.1.1' apply false
|
|
id 'org.jetbrains.kotlin.android' version '1.6.10' apply false
|
|
}
|
|
|
|
ext {
|
|
devId = "0"
|
|
devUser = "fankesyooni"
|
|
userEmail = 'qzmmcn@163.com'
|
|
groupId = "com.highcapable.yukihookapi"
|
|
apiVersion = "1.0"
|
|
repoName = "YukiHookAPI"
|
|
repoDescription = "An efficient Kotlin version of the Xposed Hook API."
|
|
licenceName = "MIT License"
|
|
licenceUrl = "https://github.com/fankes/YukiHookAPI/blob/master/LICENSE"
|
|
website = "https://github.com/fankes/YukiHookAPI"
|
|
githubConnection = 'scm:git:git://github.com/path/to/repo.git'
|
|
githubDeveloperConnection = 'scm:git:ssh://github.com/path/to/repo.git'
|
|
githubUrl = 'https://github.com/path/to/repo'
|
|
ossName = "OSSRH"
|
|
ossUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
|
|
}
|
|
|
|
static String getFileContent(String name) {
|
|
FileReader reader = new FileReader("/Users/fankes/ProjectPath/AndroidStudioProjects/YukiHookAPI/.gradle/" + name)
|
|
BufferedReader buff = new BufferedReader(reader)
|
|
String result = buff.readLine()
|
|
buff.close()
|
|
reader.close()
|
|
return result
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
} |