cglib/cglib


cglib - Byte Code Generation Library is high level API to generate and transform Java byte code. It is used by AOP, testing, data access frameworks to generate dynamic proxy objects and intercept field access. https://github.com/cglib/cglib/wiki

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.cglib:cglib:RELEASE_3_3_0'
	}
	dependencies {
		implementation("com.github.cglib:cglib:RELEASE_3_3_0")
	}
	<dependency>
	    <groupId>com.github.cglib</groupId>
	    <artifactId>cglib</artifactId>
	    <version>RELEASE_3_3_0</version>
	</dependency>

                            
    libraryDependencies += "com.github.cglib" % "cglib" % "RELEASE_3_3_0"
        
        

                            
    :dependencies [[com.github.cglib/cglib "RELEASE_3_3_0"]]
        
        

Readme


cglib Build Status

IMPORTANT NOTE: cglib is unmaintained and does not work well (or possibly at all?) in newer JDKs, particularly JDK17+. If you need to support newer JDKs, we will accept well-tested well-thought-out patches... but you'll probably have better luck migrating to something like ByteBuddy.

Byte Code Generation Library is high level API to generate and transform JAVA byte code. It is used by AOP, testing, data access frameworks to generate dynamic proxy objects and intercept field access. https://github.com/cglib/cglib/wiki

How To: https://github.com/cglib/cglib/wiki/How-To

Latest Release: https://github.com/cglib/cglib/releases/latest

All Releases: https://github.com/cglib/cglib/releases

cglib-#.#_#.jar binary distribution, CGLIB classes only, it must be used to extend cglib classes dependant on ASM API

cglib-nodep-#.#_#.jar binary distribution, CGLIB and renamed ASM classes, not extendable