41 lines
957 B
Groovy
41 lines
957 B
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'expo-modules-core'
|
|
|
|
group = 'nl.guidoit.swimbuddy'
|
|
version = '0.1.0'
|
|
|
|
def safeExtGet(prop, fallback) {
|
|
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
}
|
|
|
|
android {
|
|
namespace "nl.guidoit.swimbuddy.wear"
|
|
compileSdkVersion safeExtGet("compileSdkVersion", 34)
|
|
|
|
defaultConfig {
|
|
minSdkVersion safeExtGet("minSdkVersion", 24)
|
|
targetSdkVersion safeExtGet("targetSdkVersion", 34)
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = '17'
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
}
|
|
|
|
dependencies {
|
|
implementation "expo-modules-core:+"
|
|
implementation "com.google.android.gms:play-services-wearable:18.2.0"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.7.3"
|
|
}
|