在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):typelead/gradle-eta开源软件地址(OpenSource Url):https://github.com/typelead/gradle-eta开源编程语言(OpenSource Language):Java 94.1%开源软件介绍(OpenSource Introduction):Gradle Plugin for EtaA gradle plugin for building Eta projects via the Etlas build tool. RequirementsThis plugin requires that Gradle 4.3+ is used. Using the PluginPlugin DSLEta Base PluginThis is used for configuring your Eta/Etlas versions for your entire project. You can only do such configuration in the root project. NOTE: Both the Eta Plugin and the Eta Android Plugin apply the Eta Base Plugin by default, so if you import either one, it is not required to import this one! plugins {
id 'com.typelead.eta.base' version '0.8.1'
} Eta PluginThis is used for standard JVM projects. plugins {
id 'com.typelead.eta' version '0.8.1'
} Eta Android PluginThis is used for Android projects. plugins {
id 'com.typelead.eta.android' version '0.8.1'
} Legacy MethodBefore applying any of the plugins, you should add the following in the buildscript {
repositories {
maven {
url 'https://plugins.gradle.org/m2/'
}
}
dependencies {
classpath 'gradle.plugin.com.typelead:gradle-eta:0.8.1'
}
} Eta Base Pluginapply plugin: 'eta-base' Eta Pluginapply plugin: 'eta' Eta Android Pluginapply plugin: 'eta-android' Building from SourceIf you're interested in hacking on the plugin or trying out the latest version, you can install it from source. Source Installationgit clone https://github.com/typelead/gradle-eta
cd gradle-eta
./gradlew pTML Then, in your buildscript {
repositories {
mavenLocal()
dependencies {
classpath 'com.typelead:gradle-eta:latest.release'
}
}
} Quick StartLibraryeta {
version = '0.7.2b1'
etlasVersion = '1.3.0.0'
} Executableapply plugin: 'application'
eta {
version = '0.7.2b1'
etlasVersion = '1.3.0.0'
} Android Applicationeta {
version = '0.7.2b1'
etlasVersion = '1.3.0.0'
} See the ConfigurationYou can use the top-level NOTE: The Properties:
DependenciesYou can add Eta dependencies (from Hackage or elsewhere) as follows: dependencies {
compile eta('text:1.2.2.2')
} The general format is Ivy version range notation is supported. TasksThe Eta Gradle Plugin adds the following tasks: Root Project Tasks
Per-Project, Per-SourceSet Tasks
For the Conditional TasksIf the Standard TasksThe standard Gradle tasks like |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论