feat: use goreleaser to generate linux packages
This commit is contained in:
@ -3,6 +3,16 @@ plugins {
|
||||
id 'org.jetbrains.kotlin.android'
|
||||
}
|
||||
|
||||
def gitVersion() {
|
||||
def counter = 0
|
||||
def process = "git rev-list master --first-parent --count".execute()
|
||||
return process.text.toInteger()
|
||||
}
|
||||
|
||||
def versionName() {
|
||||
return System.env.VERSION_NAME ? System.env.VERSION_NAME : "0.0.0"
|
||||
}
|
||||
|
||||
android {
|
||||
namespace 'com.cadoles.arcast_player'
|
||||
compileSdk 34
|
||||
@ -11,8 +21,8 @@ android {
|
||||
applicationId "com.cadoles.arcast_player"
|
||||
minSdk 24
|
||||
targetSdk 34
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
versionCode gitVersion()
|
||||
versionName versionName()
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables {
|
||||
@ -47,7 +57,6 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
implementation 'androidx.core:core-ktx:1.10.1'
|
||||
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1'
|
||||
implementation 'androidx.activity:activity-compose:1.7.0'
|
||||
|
Reference in New Issue
Block a user