mirror of
https://github.com/yggdrasil-network/yggdrasil-android.git
synced 2025-04-27 13:45:09 +03:00
62 lines
2 KiB
Groovy
62 lines
2 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'kotlin-android'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 34
|
|
|
|
defaultConfig {
|
|
applicationId "eu.neilalexander.yggdrasil"
|
|
minSdkVersion 21
|
|
targetSdkVersion 34
|
|
versionCode 19
|
|
versionName "0.1-019"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
signingConfigs {
|
|
create("yggdrasil") {
|
|
// You need to specify either an absolute path or include the
|
|
// keystore file in the same directory as the build.gradle file.
|
|
storeFile = file("gha.jks")
|
|
storePassword = "g1thub4ct10n34yggdr4s1l4ndr01d"
|
|
keyAlias = "yggdrasil-android"
|
|
keyPassword = "g1thub4ct10n34yggdr4s1l4ndr01d"
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
yggdrasil {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
signingConfig = signingConfigs.getByName("yggdrasil")
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '1.8'
|
|
}
|
|
namespace 'eu.neilalexander.yggdrasil'
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.aar'], dir: 'libs')
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
implementation 'androidx.core:core-ktx:1.13.1'
|
|
implementation 'androidx.appcompat:appcompat:1.7.0'
|
|
implementation 'com.google.android.material:material:1.12.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation 'androidx.preference:preference-ktx:1.2.1'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
|
|
}
|