mirror of
https://github.com/lizongying/my-tv.git
synced 2026-11-19 09:56:29 +08:00
clean
This commit is contained in:
+4
-5
@@ -11,8 +11,8 @@ android {
|
||||
applicationId "com.lizongying.mytv"
|
||||
minSdk 23
|
||||
targetSdk 33
|
||||
versionCode getVersionCode()
|
||||
versionName getVersionName()
|
||||
versionCode VersionCode()
|
||||
versionName VersionName()
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
@@ -32,7 +32,7 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
static def getVersionCode() {
|
||||
static def VersionCode() {
|
||||
try {
|
||||
def process = 'git rev-list --count HEAD'.execute()
|
||||
process.waitFor()
|
||||
@@ -42,7 +42,7 @@ static def getVersionCode() {
|
||||
}
|
||||
}
|
||||
|
||||
static def getVersionName() {
|
||||
static def VersionName() {
|
||||
try {
|
||||
def process = 'git describe --tags --always'.execute()
|
||||
process.waitFor()
|
||||
@@ -53,7 +53,6 @@ static def getVersionName() {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
implementation 'androidx.core:core-ktx:1.11.0-beta02'
|
||||
implementation 'androidx.leanback:leanback:1.0.0'
|
||||
implementation 'com.github.bumptech.glide:glide:4.11.0'
|
||||
|
||||
Reference in New Issue
Block a user