Skip to content

Commit 9595322

Browse files
committed
feat: introduce experimental context parameters and extended contracts support
- Added `ExperimentalContextParameters` and `ExperimentalExtendedContracts` annotations for new experimental features. - Implemented `HoldsIn` and `implies` contract effects in `ContractBuilder`. - Enhanced reflection with support for context parameters in callable and parameter metadata. - Included support for debugging metadata via `DebugMetadata` annotations and utility methods. - Updated coroutine internals with new functionalities for enhanced debugging and stack frame management. - Extended proto metadata and serializers for additional context parameter handling. - Added `EffectConditionKind` to represent condition kinds in effect metadata.
1 parent 2c6fe52 commit 9595322

File tree

9 files changed

+587
-80
lines changed

9 files changed

+587
-80
lines changed

.idea/kotlinc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ mcVersion=1.21.8
99
group=dev.slne.surf
1010
version=1.21.8-2.38.0
1111
relocationPrefix=dev.slne.surf.surfapi.libs
12-
snapshot=true
12+
snapshot=false

gradle/libs.versions.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
paper-api = "1.21.8-R0.1-SNAPSHOT"
44

55
# Kolin
6-
kotlinVersion = "2.2.0"
6+
kotlinVersion = "2.2.20"
77
kotlinxCoroutines = "1.10.2"
88
kotlinx-serialization = "1.9.0"
99

1010
# Packet Events
11-
packetevents = "2.9.1"
12-
packetevents-plugin = "2.9.1"
11+
packetevents = "2.9.5"
12+
packetevents-plugin = "2.9.5"
1313

1414
# Command API
1515
commandapi = "10.1.2"
@@ -18,9 +18,9 @@ commandapi = "10.1.2"
1818
luckperms = "v5.5.0-bukkit"
1919

2020
# Scoreboard Library
21-
scoreboard-library = "2.4.1"
22-
scoreboard-library-implementation = "2.4.1"
23-
scoreboard-library-modern = "2.4.1"
21+
scoreboard-library = "2.4.2"
22+
scoreboard-library-implementation = "2.4.2"
23+
scoreboard-library-modern = "2.4.2"
2424

2525
# Adventure
2626
adventure-api = "4.24.0"
@@ -58,7 +58,7 @@ auto-service = "1.1.1"
5858
auto-service-ksp = "1.2.0"
5959
ktor = "3.1.1"
6060
glm = "0.9.9.1-12"
61-
ksp-version = "2.2.0-2.0.2"
61+
ksp-version = "2.2.20-2.0.3"
6262

6363
# Plugin versions
6464
maven-repo-auth = "3.0.4"

surf-api-bukkit/surf-api-bukkit-api/api/surf-api-bukkit-api.api

Lines changed: 190 additions & 23 deletions
Large diffs are not rendered by default.

surf-api-core/surf-api-core-api/api/surf-api-core-api.api

Lines changed: 190 additions & 23 deletions
Large diffs are not rendered by default.

surf-api-gradle-plugin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ plugins {
2020
group = groupId
2121
version = buildString {
2222
append(mcVersion)
23-
append("-1.4.4")
23+
append("-1.4.5")
2424
if (snapshot) append("-SNAPSHOT")
2525
}
2626

surf-api-gradle-plugin/src/main/kotlin/dev/slne/surf/surfapi/gradle/platform/paper/plugin/PaperPluginSurfExtension.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ open class PaperPluginSurfExtension @Inject constructor(objects: ObjectFactory)
2121
.convention(null)
2222
internal val runServer = objects.property<Action<RunServer>>().convention(null)
2323
internal val foliaSupported = objects.property<Boolean>().convention(false)
24-
internal val generateLibraryLoader = objects.property<Boolean>().convention(true)
24+
internal val generateLibraryLoader = objects.property<Boolean>().convention(false)
2525

2626
fun mainClass(mainClass: String) {
2727
this.mainClass.set(mainClass)

surf-api-velocity/surf-api-velocity-api/api/surf-api-velocity-api.api

Lines changed: 190 additions & 23 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)