Giter Club home page Giter Club logo

gradle-launch-config-plugin-1's Introduction

gradle-launch-config-plugin

CircleCI

A Gradle Plugin that creates .launch files for Eclipse and Run Configurations for IntelliJ for your project's JavaExec tasks.

Usage

  1. Apply the plugin

    buildscript {
      repositories {
        maven {
          url "https://plugins.gradle.org/m2/"
        }
      }
      dependencies {
        classpath "com.palantir.launchconfig:gradle-launch-config-plugin:<LaunchConfigVersion>"
      }
    }
    
    apply plugin: "com.palantir.launch-config"
    

    Alternatively:

    plugins {
      id "com.palantir.launch-config" version "<LaunchConfigVersion>"
    }
    
  2. Call the respective IDE commands (i.e. ./gradlew idea or ./gradlew eclipse)

  3. Optional. You can add the launchConfig block to specify the JavaExec tasks to be used to generate the .launch files for Eclipse and run configurations for IntelliJ.

    launchConfig {
        excludedTasks 'run'
    }
    

    The launchConfig block offers the following options:

    • (optional) includedTasks a set of JavaExec tasks to be used by the plugin to generate the .launch files for Eclipse and the run configurations for IntelliJ. If it not specified, all JavaExec tasks are included except for the ones specified in excludedTasks.
    • (optional) excludedTasks a set of JavaExec tasks that are excluded from the launch file or the run configuration creation.

Tasks

The tasks are only added if their matching IDE plugin is applied.

  • eclipseLaunchConfig - creates .launch files. Triggered when :eclipseProject is called.
  • cleanEclipseLaunchConfig - deletes the generated .launch files. Triggered when :cleanEclipseProject is called.
  • ideaLaunchConfig - generates the XML in the IDEA workspace. Triggered when :ideaWorkspace is called.

Contributing

Before working on the code, if you plan to contribute changes, please read the CONTRIBUTING document.

License

This project is made available under the Apache 2.0 License.

gradle-launch-config-plugin-1's People

Contributors

jmcampanini avatar qinfchen avatar zoubeiri avatar svc-excavator-bot avatar fawind avatar bmarcaur avatar leeavital avatar mnazbro avatar timyates avatar tomshen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.