android-sdk/core/build.gradle
John McKean 52ef437edd
Handle InApp Messages
- Bump version to `1.0.0`
- Bump lib versions
- Handle push to refresh messages
- target 36 and drop 21/22
2025-09-22 09:29:14 -05:00

64 lines
1.8 KiB
Groovy

plugins {
id 'com.android.library'
id 'kotlin-parcelize'
id 'kotlin-android'
}
group = PACKAGE
version = VERSION
android {
compileSdkVersion 36
defaultConfig {
minSdkVersion 23
targetSdkVersion 36
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '17'
}
namespace PACKAGE
}
dependencies {
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2'
implementation 'androidx.lifecycle:lifecycle-process:2.9.3'
implementation 'androidx.lifecycle:lifecycle-common-java8:2.9.3'
implementation 'androidx.preference:preference-ktx:1.2.1'
implementation platform('com.google.firebase:firebase-bom:34.2.0')
implementation 'com.google.firebase:firebase-messaging'
implementation 'androidx.browser:browser:1.9.0'
def okhttp_version = "5.1.0"
implementation "com.squareup.okhttp3:okhttp:$okhttp_version"
implementation "com.squareup.okhttp3:logging-interceptor:$okhttp_version"
implementation "com.squareup.okhttp3:okhttp-coroutines:$okhttp_version"
implementation 'com.google.code.gson:gson:2.13.1'
}
afterEvaluate {
publishing {
publications {
// Creates a Maven publication called "release".
release(MavenPublication) {
from components.release
groupId = PACKAGE
artifactId = ARTIFACT
version = VERSION
}
}
}
}