-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
54 lines (46 loc) · 1.62 KB
/
build.gradle.kts
File metadata and controls
54 lines (46 loc) · 1.62 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
plugins {
kotlin("jvm") version "2.2.10"
kotlin("plugin.serialization") version "2.2.10"
id("com.typewritermc.module-plugin") version "2.1.0"
}
group = "com.btc.shops"
version = "0.1.0"
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://repo.codemc.io/repository/creatorfromhell/")
maven("https://jitpack.io")
maven("https://repo.extendedclip.com/content/repositories/placeholderapi/")
flatDir {
dir("libs")
}
}
dependencies {
compileOnly("io.papermc.paper:paper-api:1.21.8-R0.1-SNAPSHOT")
compileOnly("com.github.MilkBowl:VaultAPI:1.7.1")
compileOnly("me.clip:placeholderapi:2.11.6")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3")
implementation("io.insert-koin:koin-core:3.5.6")
testImplementation(kotlin("test"))
}
typewriter {
namespace = "borntocraft"
extension {
name = "Shops"
shortDescription = "UltimateShop-like extension"
description = """
Shops is a TypeWriter extension that provides an UltimateShop-like shopping system. It demonstrates how
dynamic pricing, stock handling and simple GUI services could be implemented using Kotlin. The extension
included here is intentionally lightweight and meant for demonstration and testing purposes within the
BornToCraft environment.
""".trimIndent()
engineVersion = "0.9.0-beta-171"
channel = com.typewritermc.moduleplugin.ReleaseChannel.BETA
dependencies {
paper()
}
}
}
kotlin {
jvmToolchain(21)
}