File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ plugins {
55
66group = " me.scoretwo"
77version = " 1.0-SNAPSHOT"
8+ description = " An expansion that supports KotlinScript."
89
910defaultTasks = 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}
Original file line number Diff line number Diff line change 1+ name : ${name}
2+ version : ${version}
3+ main : me.scoretwo.fastscript.expansion.kotlinscript.KotlinScriptExpansion
4+ description : ' ${description}'
5+ authors :
6+ - ' Score2'
You can’t perform that action at this time.
0 commit comments