Skip to content

Commit 0fb06d9

Browse files
committed
fix: update version to 1.1.5 and register surf-velocity-api dependency
1 parent 5cb7931 commit 0fb06d9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ plugins {
1818
}
1919

2020
group = groupId
21-
version = "$mcVersion-1.1.4"
21+
version = "$mcVersion-1.1.5"
2222

2323
repositories {
2424
mavenCentral()

surf-api-gradle-plugin/src/main/kotlin/dev/slne/surf/surfapi/gradle/generators/pluginfiles/VelocityPluginFile.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@ class VelocityPluginFile(project: Project) : CommonPluginFile() {
6363
@Nested
6464
@Optional
6565
var pluginDependencies: NamedDomainObjectContainer<Dependency> =
66-
project.container(Dependency::class.java)
66+
project.container(Dependency::class.java).apply {
67+
register("surf-velocity-api") {
68+
optional = false
69+
}
70+
}
6771

6872
@Serializable
6973
data class Dependency(@SerialName("id") @Input val name: String) {

0 commit comments

Comments
 (0)