Skip to content

Commit

Permalink
Merge pull request #421 from micronaut-projects/byte-buddy
Browse files Browse the repository at this point in the history
Switch to byte buddy
  • Loading branch information
timyates authored Oct 14, 2022
2 parents d3b3d0e + 35345fe commit 02b8016
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class MicronautBuildCommonPlugin implements Plugin<Project> {
'org.codehaus.groovy' :
'org.apache.groovy'
}
def cgLibVersionProvider = versionProviderOrDefault(project, 'cglib', '3.3.0')
def byteBuddyVersionProvider = versionProviderOrDefault(project, 'bytebuddy', '1.12.18')
def objenesisVersionProvider = versionProviderOrDefault(project, 'objenesis', '3.1')
def logbackVersionProvider = versionProviderOrDefault(project, 'logback', '1.2.3')

Expand Down Expand Up @@ -82,8 +82,8 @@ class MicronautBuildCommonPlugin implements Plugin<Project> {
dependencies.addProvider("testImplementation",groovyGroupProvider.zip(groovyVersionProvider) { groovyGroup, groovyVersion ->
"$groovyGroup:groovy-test:$groovyVersion"
})
dependencies.addProvider("testImplementation", cgLibVersionProvider.map {
"cglib:cglib-nodep:$it"
dependencies.addProvider("testImplementation", byteBuddyVersionProvider.map {
"net.bytebuddy:byte-buddy:$it"
})
dependencies.addProvider("testImplementation", objenesisVersionProvider.map {
"org.objenesis:objenesis:$it"
Expand Down

0 comments on commit 02b8016

Please sign in to comment.