WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

robo-code/codesize

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

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages