Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
// Let's say we have a gradle plugin. Now we want that gradle plugin project to actually use the exact plugin. | |
// There are probably multiple ways we can bootstrap this. One way is to build the jar, and use that, but that's boring. | |
// Here we show how we can have the plugin-project use the actual plugin we are building. | |
// :: We load the groovy script on runtime, only then are we able to apply the plugin | |
// Setup the groovy classpath. Start with our own files | |
def classpaths = [file('src/main/groovy').absolutePath, file('src/main/resources').absolutePath] | |
// The groovy script engine wants a string array | |
String[] classpathArray = classpaths.toArray(new String[classpaths.size()]); | |
// Start a groovy script engine with our classpaths |