forked from RikkaApps/Riru-ModuleTemplate
-
Notifications
You must be signed in to change notification settings - Fork 8
/
module.gradle
29 lines (27 loc) · 954 Bytes
/
module.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
ext {
moduleId = "mipush_fake"
moduleName = "MiPushFake"
moduleAuthor = "Timothy Zhang"
moduleDescription = "Fake as XiaoMI device by hook system_property_get."
moduleVersion = "v13"
moduleVersionCode = 13
moduleMinRiruApiVersion = 9
moduleMinRiruVersionName = "v22.0"
moduleMaxRiruApiVersion = 9
moduleProp = [
name : moduleName,
version : moduleVersion,
versionCode: moduleVersionCode.toString(),
author : moduleAuthor,
description: moduleDescription,
minApi : moduleMinRiruApiVersion
]
magiskModuleProp = [
id : "riru_$moduleId",
name : "Riru - ${moduleProp['name']}",
version : moduleProp['version'],
versionCode: moduleProp['versionCode'],
author : moduleProp['author'],
description: moduleProp['description']
]
}