Skip to content

Commit 294bb09

Browse files
committed
Complete frames.
1 parent b448f17 commit 294bb09

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

build.gradle.kts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ plugins {
55

66
group = "me.scoretwo"
77
version = "1.0-SNAPSHOT"
8+
description = "An expansion that supports KotlinScript."
89

910
defaultTasks = mutableListOf("shadowJar")
1011

@@ -33,4 +34,15 @@ tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {
3334
include(dependency("org.jetbrains.kotlin:kotlin-compiler:1.4.21"))
3435
}
3536
classifier = null
37+
}
38+
39+
tasks.processResources {
40+
from("src/main/resources") {
41+
include("expansion.yml")
42+
expand(mapOf(
43+
"name" to rootProject.name,
44+
"version" to rootProject.version,
45+
"description" to rootProject.description
46+
))
47+
}
3648
}

src/main/resources/expansion.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: ${name}
2+
version: ${version}
3+
main: me.scoretwo.fastscript.expansion.kotlinscript.KotlinScriptExpansion
4+
description: '${description}'
5+
authors:
6+
- 'Score2'

0 commit comments

Comments
 (0)