Skip to content

Bld

Pure java build tool for developers who don't like dealing with build tools

8 Topics 38 Posts
  • Extensions

    Pinned
    15
    2 Votes
    15 Posts
    743 Views
    ethauvinE

    All the extensions have been updated for bld 2.1:

    bld ANTLR4 extension bld Archive extension bld Checkstyle extension bld Command Line Execution extension bld Generated Version extension bld JaCoCo Report extension bld Kotlin extension bld Detekt extension bld Dokka extension bld PIT Mutation Testing extension bld PMD extension bld Property File extension bld Spring Boot extension bld TestNG extension bld Tests Badge extension
  • bld advocacy ideas

    Pinned
    14
    2 Votes
    14 Posts
    467 Views
    gbevinG

    @ethauvin that was one of my takeaways from that Reddit thread a while ago. Many people seem to just look at the code verbatim and do a direct comparison, not taking into account what the implications are and how it actually can be used. It's a really tough nut to crack when trying to show of what's possible with bld imho.

  • bld v2.1 released!

    2
    0 Votes
    2 Posts
    42 Views
    ethauvinE

    All the extensions have also been updated:

    bld ANTLR4 extension bld Archive extension bld Checkstyle extension bld Command Line Execution extension bld Generated Version extension bld JaCoCo Report extension bld Kotlin extension bld Detekt extension bld Dokka extension bld PIT Mutation Testing extension bld PMD extension bld Property File extension bld Spring Boot extension bld TestNG extension bld Tests Badge extension
  • bld v2.0 released!

    2
    1 Votes
    2 Posts
    92 Views
    ethauvinE

    All the extensions have also been updated:

    ANTLR4 extension Archive extension Checkstyle extension Command Line Execution extension Generated Version extension JaCoCo Report extension PIT Mutation Testing extension PMD extension Property File extension Spring Boot extension TestNG extension Tests Badge extension

    The Kotlin extension has been completely reworked. It now compiles using a local installation of the Kotlin compiler, making it possible to test with multiple versions of Kotlin. Dokka now has its own extension. There's also a Kotlin project template on GitHub with support for the Dokka and Detekt extensions.

  • bld v1.9.0 released!

    1
    1 Votes
    1 Posts
    411 Views
    No one has replied
  • bld Tips & Tricks

    2
    1 Votes
    2 Posts
    199 Views
    ethauvinE

    Annotation processors are easy to use with bld. Generally, you'll just need to include processor as a dependency, for example:

    public class ExampleBuild extends Project { public ExampleBuild() { // ... scope(provided) .include(dependency("com.example", "annotator", version(1, 0, 0))); } }

    If the processor is generating source files, you can easily specify where they should be saved, using the -s javac option, for example:

    /** * Saves generated source files in the {@code build/generated} directory. */ @Override public void compile() throws Exception { var generated = new File(buildDirectory(), "generated"); var ignore = generated.mkdir(); compileOperation().compileOptions().addAll(List.of("-s", generated.getAbsolutePath())); super.compile(); }

    To incorporate the generated source code into the source tree, add this directory as an additional source location in your IDE.

    Screenshot from 2023-08-20 21-27-10.png

  • bld v1.7.2 released!

    1
    1 Votes
    1 Posts
    96 Views
    No one has replied
  • bld v1.7.1 released!

    1
    1 Votes
    1 Posts
    92 Views
    No one has replied