mirror of
https://github.com/hanzoai/dev-desktop.git
synced 2026-11-20 23:52:12 +00:00
40 lines
1.1 KiB
Groovy
40 lines
1.1 KiB
Groovy
buildscript {
|
|
repositories { mavenCentral() }
|
|
dependencies {
|
|
classpath("org.jetbrains.kotlin.plugin.compose:org.jetbrains.kotlin.plugin.compose.gradle.plugin:${kotlinVersion}")
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.library'
|
|
apply plugin: 'org.jetbrains.kotlin.android'
|
|
apply plugin: 'org.jetbrains.kotlin.plugin.compose'
|
|
|
|
group = 'ai.hanzo.nativecontrols'
|
|
version = '0.0.0'
|
|
|
|
android {
|
|
namespace 'expo.modules.hanzonativecontrols'
|
|
compileSdk rootProject.ext.compileSdkVersion
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.ext.minSdkVersion
|
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
|
}
|
|
buildFeatures { compose true }
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':expo-modules-core')
|
|
implementation 'androidx.compose.ui:ui-android:1.10.6'
|
|
implementation 'androidx.activity:activity:1.8.2'
|
|
implementation 'androidx.compose.material3:material3-android:1.5.0-alpha17'
|
|
implementation 'androidx.window:window:1.5.1'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
}
|
|
|
|
tasks.withType(Test).configureEach {
|
|
javaLauncher = javaToolchains.launcherFor {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|