this repo has no description
at main 1.4 kB view raw
1apply plugin: 'com.android.library' 2 3group = 'expo.modules.atprotoauth' 4version = '0.1.0' 5 6def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle") 7apply from: expoModulesCorePlugin 8applyKotlinExpoModulesCorePlugin() 9useCoreDependencies() 10useExpoPublishing() 11 12// If you want to use the managed Android SDK versions from expo-modules-core, set this to true. 13// The Android SDK versions will be bumped from time to time in SDK releases and may introduce breaking changes in your module code. 14// Most of the time, you may like to manage the Android SDK versions yourself. 15def useManagedAndroidSdkVersions = false 16if (useManagedAndroidSdkVersions) { 17 useDefaultAndroidSdkVersions() 18} else { 19 buildscript { 20 // Simple helper that allows the root project to override versions declared by this library. 21 ext.safeExtGet = { prop, fallback -> 22 rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback 23 } 24 } 25 project.android { 26 compileSdkVersion safeExtGet("compileSdkVersion", 34) 27 defaultConfig { 28 minSdkVersion safeExtGet("minSdkVersion", 21) 29 targetSdkVersion safeExtGet("targetSdkVersion", 34) 30 } 31 } 32} 33 34android { 35 namespace "expo.modules.atprotoauth" 36 defaultConfig { 37 versionCode 1 38 versionName "0.1.0" 39 } 40 lintOptions { 41 abortOnError false 42 } 43} 44 45dependencies { 46 implementation "com.nimbusds:nimbus-jose-jwt:10.3.1" 47}