Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

robo-code/codesize

Open more actions menu

Repository files navigation

Codesize

Codesize is a tool for calculating the bytecode size of a Java class file, ZIP/JAR archive. It is being used by Robocode to calculate the code size of robots after having compiled these.

Read more about the Code Size on the RoboWiki.

Build

To build Codesize, use Gradle:

./gradlew build

This will compile the project and create the JAR file in the build/libs directory.

Publishing

Codesize uses in-memory PGP signing for publishing to OSSRH (Maven Central). You must provide the following properties in your gradle.properties:

signing.keyId=YOUR_KEY_ID
signingKey=YOUR_ASCII_ARMOR_PRIVATE_KEY
signingPassword=YOUR_KEY_PASSWORD
ossrhUsername=YOUR_OSSRH_USERNAME
ossrhPassword=YOUR_OSSRH_PASSWORD

To publish the artifact:

 ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository

This will sign and upload the artifacts to the configured OSSRH repository.

About

No description, website, or topics provided.

Resources

License

Stars

3 stars

Watchers

2 watching

Forks

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.