Open History to see the last commit
1buildscript {
2 repositories { mavenCentral() }
3 dependencies {
4 classpath("org.jetbrains.kotlin.plugin.compose:org.jetbrains.kotlin.plugin.compose.gradle.plugin:${kotlinVersion}")
5 }
6}
7
8apply plugin: 'com.android.library'
9apply plugin: 'org.jetbrains.kotlin.android'
10apply plugin: 'org.jetbrains.kotlin.plugin.compose'
11
12group = 'com.t3tools.nativecontrols'
13version = '0.0.0'
14
15android {
16 namespace 'expo.modules.t3nativecontrols'
17 compileSdk rootProject.ext.compileSdkVersion
18
19 defaultConfig {
20 minSdkVersion rootProject.ext.minSdkVersion
21 targetSdkVersion rootProject.ext.targetSdkVersion
22 }
23 buildFeatures { compose true }
24}
25
26dependencies {
27 implementation project(':expo-modules-core')
28 implementation 'androidx.compose.ui:ui-android:1.10.6'
29 implementation 'androidx.activity:activity:1.8.2'
30 implementation 'androidx.compose.material3:material3-android:1.5.0-alpha17'
31 implementation 'androidx.window:window:1.5.1'
32 testImplementation 'junit:junit:4.13.2'
33}
34
35tasks.withType(Test).configureEach {
36 javaLauncher = javaToolchains.launcherFor {
37 languageVersion = JavaLanguageVersion.of(21)
38 }
39}