在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):townsfolk/gradle-templates开源软件地址(OpenSource Url):https://github.com/townsfolk/gradle-templates开源编程语言(OpenSource Language):Groovy 100.0%开源软件介绍(OpenSource Introduction):Gradle Templates PluginIntroductionThe Gradle Templates plugin helps you get started using Gradle by providing convenient tasks for creating new projects that work with the Gradle build system. Eg. To create a new Java project you can run:
Which will prompt you for the name of your new project and then create a new directory with it. It will also create a standard directory structure in your project's directory that works with Gradle's default configurations. The plugin also makes it easy to create your own templates which can be useful in creating new projects, or creating components within your projects. Eg. It's easy to create a simple task to generate a new GSP that fits your company's standard layout. Or to create a more complex task to generate a new servlet and add the entry into your webapp's web.xml file. InstallationThe standard way to install this plugin is by adding the following to your build.gradle file: buildscript {
repositories {
maven {
url 'http://dl.bintray.com/cjstehno/public'
}
}
dependencies {
classpath 'gradle-templates:gradle-templates:1.5'
}
}
apply plugin:'templates' Other methods of installation are documented on the project installation page. UsageRun the Running a create or init task will prompt the user for information and then generate the appropriate content. The main difference between the The Other usage documentation can be found on the project Usage page. Details
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论