Better share version information between modules
Move important version properties to buildSrc directory to access between modules as needed. Also add a simple task to generate a simple BuildConfig class to access version name. This is better than adding dependency on a third-party library/plugin. Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
parent
ee814cdd88
commit
eccbb4c510
4 changed files with 48 additions and 14 deletions
|
|
@ -25,8 +25,8 @@ compose.desktop {
|
|||
|
||||
nativeDistributions {
|
||||
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
|
||||
packageName = "net.newpipe.app"
|
||||
packageVersion = "1.0.0"
|
||||
packageName = NEWPIPE_APPLICATION_ID_NEW
|
||||
packageVersion = NEWPIPE_VERSION_NAME
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue