Files
notesnook/apps/mobile/android/build.gradle

53 lines
1.4 KiB
Groovy
Raw Normal View History

2022-08-10 12:43:18 +05:00
// Top-level build file where you can add configuration options common to all sub-projects/modules.
import org.apache.tools.ant.taskdefs.condition.Os
buildscript {
ext {
buildToolsVersion = "36.0.0"
2025-05-21 11:03:32 +05:00
minSdkVersion = 24
compileSdkVersion = 36
targetSdkVersion = 36
kotlinVersion = '2.1.20'
2022-08-10 12:43:18 +05:00
androidXAnnotation = "1.1.0"
androidXCoreVersion = "1.7.0"
androidXCore = "1.7.0"
androidXBrowser = "1.0.0"
2025-05-21 11:03:32 +05:00
ndkVersion = "27.1.12297006"
playBillingSdkVersion = "8.0.0"
2022-08-10 12:43:18 +05:00
}
2022-08-10 12:43:18 +05:00
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle")
classpath("com.facebook.react:react-native-gradle-plugin")
2024-08-01 15:52:27 +05:00
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
2022-08-10 12:43:18 +05:00
}
}
2023-06-05 20:40:20 +05:00
2024-08-01 15:52:27 +05:00
apply plugin: "com.facebook.react.rootproject"
2023-08-05 16:46:08 +05:00
allprojects {
repositories {
maven {
// All of Detox' artifacts are provided via the npm module
url "$rootDir/../node_modules/detox/Detox-android"
2023-08-05 16:46:08 +05:00
}
google()
mavenCentral()
2023-08-05 16:46:08 +05:00
maven { url 'https://www.jitpack.io' }
}
}
2026-08-24 13:39:23 +05:00
// Pin the ndkVersion for all subprojects
subprojects { subproject ->
["com.android.application", "com.android.library"].each { pluginId ->
subproject.plugins.withId(pluginId) {
subproject.android.ndkVersion = rootProject.ext.ndkVersion
}
}
}