Export BlueJ project archives from Gradle projects.

Overview

bluej-jar Gradle Plugin

This is a Gradle plugin for producing JAR files which are valid BlueJ project archives.

This plugin only works in Java projects, as BlueJ only supports Java and Stride. It also only works in the main Source Set. Support for non-main Source Sets is planned.

For alternative build systems:

What is a BlueJ project archive?

A BlueJ project archive has several differences to a 'normal' JAR file:

  • .java sources are included alongside built .class files (the .class files are not even technically required!)
  • all library .jar files are included in a +libs folder (BlueJ's dependency management consists only of this +libs folder)
  • contents of libraries are included ('fat JAR') (it is unknown if this is required - it is likely not. However, this is how BlueJ exports JARs.)

This plugin also copies README.TXT and project.bluej files into the JAR, as BlueJ has special handling for these.

This plugin does not handle generation of project.bluej or *.ctxt files. BlueJ can import the project without them.

Configuration

The plugin does not offer configuration at this time.

Planned Features

  • Configuration (not include .class files, not include certain libraries, etc.)
  • Research whether the JAR is required to be a 'fat JAR', and if not, add an option to disable this
    • Research whether the libs must be copied to +libs if the JAR is fat
  • Possible project.bluej generation, to allow classes to be placed nicely in BlueJ's graph view
  • README.TXT generation from top-level readme files or from package-info.java javadoc.
  • Task to open the resulting JAR in BlueJ, for testing.
  • Task to change Source Set(s) used
You might also like...
An Eclipse builder for Android projects using Scala

OBSOLETE This is an Eclipse plugin for the obsolete Android Eclipse development system, and isn't relevant for modern Scala on Android. OVERVIEW Andro

Development environment for methodic projects

Methodic Super Project Get started developing faster! This superproject helps you get started building on the Methodic platform by providing a single

Jetbrains plugin for differentiating opened projects by color!
Jetbrains plugin for differentiating opened projects by color!

🟩 🟦 Project-Color 🟨 🟥 Remember your projects by color! Colorize the title bar to differentiate your open projects. Working on multiple projects si

GPP is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and then promoting your App Bundle or APK to publishing app listings and other metadata.
GPP is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and then promoting your App Bundle or APK to publishing app listings and other metadata.

Gradle Play Publisher Gradle Play Publisher is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and

A Gradle plugin to report the number of method references in your APK on every build.
A Gradle plugin to report the number of method references in your APK on every build.

Dexcount Gradle Plugin A Gradle plugin to report the number of method references in your APK, AAR, or java module. This helps you keep tabs on the gro

 Gradle plugin which downloads and manages your Android SDK.
Gradle plugin which downloads and manages your Android SDK.

DEPRECATED This plugin is deprecated and is no longer being developed. Tools and dependencies are automatically downloaded using version 2.2.0 of the

A Gradle plugin to support the Groovy language for building Android apps

Groovy language support for Android Deprecated: This plugin has been deprecated in favor of Kotlin which has the full support of JetBrains and Google.

Add a different ribbon to each of your Android app variants using this gradle plugin. Of course, configure it as you will

Easylauncher gradle plugin for Android Modify the launcher icon of each of your app-variants using simple gradle rules. Add ribbons of any color, over

[Deprecated] Android Studio IDE support for Android gradle unit tests. Prepared for Robolectric.
[Deprecated] Android Studio IDE support for Android gradle unit tests. Prepared for Robolectric.

#[Deprecated] Google has finally released a proper solution for unit testing. Therefore this plugin will no longer be activlty maintained. android-stu

Owner
KCL UG
KCL UG
Gradle Replace In Place (GRIP): a gradle plugin to update your documentation or any file with a simple gradle task

GRIP (Gradle Replace In-Place) A gradle tool to update some values in your (documentation) files by running a task. (inspired by Knit) Directives Inse

Grégory Lureau 2 Oct 18, 2022
A Gradle Plugin that removes unused resources in Android projects.

#Lint Cleaner Plugin Removes unused resources reported by Android lint including strings, colors and dimensions. Depracated As of Android Studio 2.0+

Marco RS 705 Nov 25, 2022
gradle-android-scala-plugin adds scala language support to official gradle android plugin

gradle-android-scala-plugin gradle-android-scala-plugin adds scala language support to official gradle android plugin. See also sample projects at htt

saturday06 345 Dec 10, 2022
Ownership-gradle-plugin - Gradle code ownership verification plugin

Gradle code ownership verification plugin A gradle plugin that will verify owner

null 4 Dec 15, 2022
A Gradle plugin for providing your secrets to your Android project.

Secrets Gradle Plugin for Android A Gradle plugin for providing your secrets securely to your Android project. This Gradle plugin reads secrets from a

Google 560 Jan 8, 2023
Gradle plugin to use git tags as project version names

Version Name Gradle Plugin This plugin adds a kotlin extension function that provides a version name based on the latest git tag. How to use it ?? App

Doist 3 Mar 9, 2022
Gradle plugin to help use create project

Infra-Gradle-Plugin 该插件旨在简化 Gradle 项目配置,几行代码就可以迅速开始一个项目, 仅支持 Kotlin DSL, Groovy 未测试! 引入插件 plugins { id("com.labijie.infra") version "your version"

Red Sparrow 0 Dec 23, 2021
An easy-to-use sbt plugin for working with all Android projects

Build Android Projects Using SBT http://scala-android.org/ Change log | FAQ Auto-import from gradle using sbt-android-gradle NOTE: 1.6.0 is the last v

Scala on Android 749 Nov 20, 2022
A Leiningen plugin for building Clojure/Android projects

lein-droid A Leiningen plugin to simplify Clojure development for Android platform. It acts as a build-tool for Clojure/Android projects. Usage First

Clojure/Android 643 Dec 15, 2022