在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):semestry/gradle-aspectj开源软件地址(OpenSource Url):https://github.com/semestry/gradle-aspectj开源编程语言(OpenSource Language):Groovy 100.0%开源软件介绍(OpenSource Introduction):Gradle AspectJ pluginUsageEither build this project yourself, and include the Something like this: buildscript {
repositories {
maven {
url "https://maven.eveoh.nl/content/repositories/releases"
}
}
dependencies {
classpath "nl.eveoh:gradle-aspectj:2.0"
}
}
repositories {
mavenCentral()
}
apply plugin: 'aspectj'
// Optionally
project.ext {
aspectjVersion = '1.8.12'
}
// Or
aspectj {
version = '1.8.12'
} Note that version 2.0+ is only compatible with Gradle 4+. Use version 1.6 for earlier Gradle versions. Use the dependencies {
aspectpath "org.springframework:spring-aspects:${springVersion}"
} By default, compileAspect {
xlint = 'warning'
} It is possible to specify a different value for the compileAspect {
maxmem = '1024m'
} To specify additional ajc arguments, you can use compileAspect {
additionalAjcArgs = ['debug' : '', 'X' : 'noInline', 'preserveAllLocals' : '']
} See https://github.com/eveoh/aspectj-example for an example project, contributed by Jason Zwolak. DevelopmentWe do not use this code any longer and this repository has been archived. Feel free to fork to make your own changes. LicenseThe project is licensed under the Apache 2.0 license. Most/all of the code
originated from the Spring Security project and was created by Luke Taylor and
Rob Winch. See |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论