-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
46 lines (40 loc) · 1.25 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
val idofrontVersion: String by project
plugins {
alias(idofrontLibs.plugins.mia.kotlin.jvm)
alias(idofrontLibs.plugins.mia.papermc)
alias(idofrontLibs.plugins.mia.copyjar)
alias(idofrontLibs.plugins.mia.publication)
alias(idofrontLibs.plugins.mia.autoversion)
alias(idofrontLibs.plugins.jetbrainsCompose)
alias(idofrontLibs.plugins.compose.compiler)
}
kotlin {
compilerOptions {
freeCompilerArgs.addAll(
"-opt-in=kotlinx.serialization.ExperimentalSerializationApi"
)
}
}
allprojects {
repositories {
mavenCentral()
google()
maven("https://repo.mineinabyss.com/snapshots")
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
maven("https://repo.codemc.org/repository/maven-public/")
}
}
dependencies {
// MineInAbyss platform
compileOnly(idofrontLibs.kotlinx.coroutines)
compileOnly(idofrontLibs.minecraft.mccoroutine)
compileOnly(idofrontLibs.kotlin.reflect)
compileOnly(idofrontLibs.minecraft.anvilgui)
// Shaded
api(compose.runtime) {
exclude("org.jetbrains.kotlin")
exclude("org.jetbrains.kotlinx")
}
implementation(idofrontLibs.bundles.idofront.core)
implementation(idofrontLibs.idofront.nms)
}