GithubHelp home page GithubHelp logo

palantir / gradle-jdks-latest Goto Github PK

View Code? Open in Web Editor NEW
2.0 193.0 2.0 302 KB

Configures gradle-jdks latest versions of JDKs

License: Apache License 2.0

Shell 2.33% Java 60.09% Groovy 37.58%
octo-correct-managed

gradle-jdks-latest's Introduction

Autorelease

gradle-jdks-latest

Configure gradle-jdks with the latest JDKs.

Background

This primarily exists for Palantir use, to enforce consistency in JDK versions for our library projects that do not publish services.

The repo is regularly kept up to date with the latest versions of JDKs for the Java major versions Palantir cares about.

The JDKs being used by this plugin can be seen here.

Disclaimer

You may use this project, but should not expect any level of support or that newer plugin versions maintain support for existing Java major versions or keep using the same JDK distributions.

Usage

In the root build.gradle, either use the new plugins syntax:

plugins {
    id 'com.palantir.jdks.latest' version '<latest version>'
}

or the old style buildscript syntax:

buildscript {
    repositories {
        mavenCentral()
    }
    
    dependencies {
        classpath 'com.palantir.gradle.jdkslatest:gradle-jdks-latest:<latest-version>'
    }
}

apply plugin: 'com.palantir.jdks.latest'

This plugin will apply the com.palantir.jdks plugins for you, see those docs for more details.

You will now not need to configure the JDKs distribution/version for the java major versions this plugin provides:

-jdk(11) {
-    distribution = 'azul-zulu'
-    jdkVersion = '11.54.25-11.0.14.1'
-}

gradle-jdks-latest's People

Contributors

ash211 avatar carterkozak avatar crogers avatar svc-autorelease avatar svc-changelog avatar svc-excavator-bot avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

isabella232

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.