-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
35 lines (30 loc) · 1.01 KB
/
build.gradle.kts
File metadata and controls
35 lines (30 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
plugins {
java
id("org.springframework.boot") version "3.4.3"
id("io.spring.dependency-management") version "1.1.7"
}
group = "com.oicana"
version = "1.0.0"
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
tasks.withType<JavaExec> {
jvmArgs("--enable-native-access=com.oicana")
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.6")
implementation("com.oicana:oicana:0.1.0")
// Since this is an example project, we add all native implementations.
// In your project, only add what you need.
runtimeOnly("com.oicana:oicana-linux-x86_64:0.1.0")
runtimeOnly("com.oicana:oicana-linux-aarch64:0.1.0")
runtimeOnly("com.oicana:oicana-macos-x86_64:0.1.0")
runtimeOnly("com.oicana:oicana-macos-aarch64:0.1.0")
runtimeOnly("com.oicana:oicana-windows-x86_64:0.1.0")
}