mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
Gradle: Output the computed version name and code to text files for further processing.
This commit is contained in:
parent
9f3580f67d
commit
60f74c3ba2
2
.gitignore
vendored
2
.gitignore
vendored
@ -53,6 +53,8 @@ PPSSPPControls.dat
|
||||
*.iml
|
||||
build
|
||||
build.ios
|
||||
versionname.txt
|
||||
versioncode.txt
|
||||
|
||||
build*/
|
||||
|
||||
|
@ -46,6 +46,9 @@ android {
|
||||
println "(not using these:) Android Version Name, Code: " + androidGitVersion.name() + " " + androidGitVersion.code();
|
||||
}
|
||||
|
||||
new File("versionname.txt").write(androidGitVersion.name())
|
||||
new File("versioncode.txt").write(androidGitVersion.code().toString())
|
||||
|
||||
minSdkVersion 9
|
||||
targetSdkVersion 25
|
||||
if (project.hasProperty("ANDROID_VERSION_CODE") && project.hasProperty("ANDROID_VERSION_NAME")) {
|
||||
|
Loading…
Reference in New Issue
Block a user