-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
57 lines (44 loc) · 1.43 KB
/
build.gradle.kts
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Kotlin application project to get you started.
*/
val kotlinVersion: String = "2.0.0-RC3"
plugins {
kotlin("jvm") version "2.0.0-RC3"
kotlin("plugin.serialization") version "2.0.0-RC3"
`java-library`
}
val commonDependencies: DependencyHandlerScope.() -> Unit = {
// Align versions of all Kotlin components
implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:1.2.1")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.1")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion")
implementation("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
implementation("org.jetbrains.kotlinx:kotlinx-io-core:0.3.0")
api("com.cave.library:Kotlin-CAVE:0.1")
}
allprojects {
group = "com.mechanica.engine"
version = 0.1
repositories {
mavenLocal()
maven {
url = uri("https://repo.maven.apache.org/maven2")
}
}
apply(plugin = "org.jetbrains.kotlin.jvm")
dependencies(commonDependencies)
kotlin {
sourceSets.all {
languageSettings {
languageVersion = "2.0"
}
}
}
java {
sourceCompatibility = JavaVersion.VERSION_22
targetCompatibility = JavaVersion.VERSION_22
}
}