1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- apply plugin: 'com.android.application'
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-android-extensions'
- // Create a variable called keystorePropertiesFile, and initialize it to your
- // keystore.properties file, in the rootProject folder.
- def keystorePropertiesFile = rootProject.file("../../keys/keystore.properties")
- // Initialize a new Properties() object called keystoreProperties.
- def keystoreProperties = new Properties()
- // Load your keystore.properties file into the keystoreProperties object.
- keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
- android {
- signingConfigs {
- config {
- keyAlias keystoreProperties['keyAlias']
- keyPassword keystoreProperties['keyPassword']
- storeFile file(keystoreProperties['storeFile'])
- storePassword keystoreProperties['storePassword']
- }
- }
- compileSdkVersion 32
- defaultConfig {
- applicationId "io.github.zadam.triliumsender"
- minSdkVersion 21
- targetSdkVersion 32
- versionCode 2
- versionName "0.2"
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- buildToolsVersion '32.0.0'
- }
- dependencies {
- implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
- implementation 'androidx.appcompat:appcompat:1.4.0'
- implementation 'com.google.android.material:material:1.4.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
- testImplementation 'junit:junit:4.13.1'
- androidTestImplementation 'androidx.test:runner:1.4.0'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
- implementation("com.squareup.okhttp3:okhttp:4.9.0")
- implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9'
- implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9'
- }
|