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
15
buildSrc/src/main/kotlin/ProjectConfig.kt
Normal file
15
buildSrc/src/main/kotlin/ProjectConfig.kt
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2026 NewPipe e.V. <https://newpipe-ev.de>
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
const val NEWPIPE_VERSION_SDK_COMPILE_MAJOR = 36
|
||||
const val NEWPIPE_VERSION_SDK_COMPILE_MINOR = 1
|
||||
const val NEWPIPE_VERSION_SDK_MIN = 23
|
||||
const val NEWPIPE_VERSION_SDK_TARGET = 35
|
||||
|
||||
const val NEWPIPE_VERSION_CODE = 1011
|
||||
const val NEWPIPE_VERSION_NAME = "0.28.6"
|
||||
|
||||
const val NEWPIPE_APPLICATION_ID_OLD = "org.schabi.newpipe"
|
||||
const val NEWPIPE_APPLICATION_ID_NEW = "net.newpipe.app"
|
||||
Loading…
Add table
Add a link
Reference in a new issue