walkmod-gradle-plugin

Walkmod plugin to resolve a gradle user classpath and provide it to code transformations

Лицензия

Лицензия

Категории

Категории

Gradle Компиляция и сборка
Группа

Группа

org.walkmod
Идентификатор

Идентификатор

walkmod-gradle-plugin
Последняя версия

Последняя версия

1.2.11
Дата

Дата

Тип

Тип

jar
Описание

Описание

walkmod-gradle-plugin
Walkmod plugin to resolve a gradle user classpath and provide it to code transformations
Ссылка на сайт

Ссылка на сайт

https://github.com/rpau/walkmod-maven-plugin
Система контроля версий

Система контроля версий

https://github.com/rpau/walkmod-gradle-plugin

Скачать walkmod-gradle-plugin

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.walkmod/walkmod-gradle-plugin/ -->
<dependency>
    <groupId>org.walkmod</groupId>
    <artifactId>walkmod-gradle-plugin</artifactId>
    <version>1.2.11</version>
</dependency>
// https://jarcasting.com/artifacts/org.walkmod/walkmod-gradle-plugin/
implementation 'org.walkmod:walkmod-gradle-plugin:1.2.11'
// https://jarcasting.com/artifacts/org.walkmod/walkmod-gradle-plugin/
implementation ("org.walkmod:walkmod-gradle-plugin:1.2.11")
'org.walkmod:walkmod-gradle-plugin:jar:1.2.11'
<dependency org="org.walkmod" name="walkmod-gradle-plugin" rev="1.2.11">
  <artifact name="walkmod-gradle-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.walkmod', module='walkmod-gradle-plugin', version='1.2.11')
)
libraryDependencies += "org.walkmod" % "walkmod-gradle-plugin" % "1.2.11"
[org.walkmod/walkmod-gradle-plugin "1.2.11"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.walkmod : javalang jar [2.0, 5.0)
org.walkmod : walkmod-core jar [1.0.0,3.0.0)
org.gradle : gradle-tooling-api jar 2.10

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12

Модули Проекта

Данный проект не имеет модулей.

walkmod-gradle-plugin

Build Status

This is a walkmod plugin to load the classpath of a gradle project.

Usage

Walkmod >= 2.2.3

You don’t need to do extra work to execute your plugins. However, you can force to execute it before executing any code transformation with the following command.

walkmod add-provider gradle

If you have multiple gradle flavors, you need to specify which flavor is the valid one to use as the classpath of the project as follows:

walkmod add-provider -Dflavor="MYFLAVOR" gradle

In case of using local libraries (that do not belong to the maven local repo), you should specify them manually as follows:

walkmod add-provider -DlocalLibs="[\"libDir/\", \"lib2.jar\"]" gradle

Older versions

  1. Add the walkmod-gradle-plugin into your walkmod.xml as a configuration provider. This component will interpret your classpath accoding your build.gradle and will compile your code.

  2. Add other Walkmod plugins and your transformations that depend on having the classpath resolved.

<!DOCTYPE walkmod PUBLIC "-//WALKMOD//DTD"  "http://www.walkmod.com/dtd/walkmod-1.1.dtd" >
<walkmod>
  <conf-providers>
    <conf-provider type="gradle"></conf-provider>
  </conf-providers>
  <chain name="main-chain">
    <transformation type="...."/>
  </chain>
</walkmod>

You can apply walkmod-gradle-plugin via walkmod.

$ walkmod apply

Or, you can also check which would be the modified classes typing:

$ walkmod check

Contributing

If you want to hack on this, fork it, improve it and send me a pull request.

To get started using it, just clone it and call mvn install.

Версии библиотеки

Версия
1.2.11
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.0.1
1.0.0