{"id":18887728,"url":"https://github.com/nebula-plugins/gradle-netflixoss-project-plugin","last_synced_at":"2025-04-09T09:09:38.093Z","repository":{"id":20612347,"uuid":"23893547","full_name":"nebula-plugins/gradle-netflixoss-project-plugin","owner":"nebula-plugins","description":"Gradle plugin to setup common needs for Netflix OSS projects","archived":false,"fork":false,"pushed_at":"2025-02-25T20:16:01.000Z","size":1258,"stargazers_count":19,"open_issues_count":2,"forks_count":12,"subscribers_count":20,"default_branch":"main","last_synced_at":"2025-04-02T07:11:15.403Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"ethz-asl/okvis","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nebula-plugins.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-09-10T21:47:05.000Z","updated_at":"2025-02-25T20:16:04.000Z","dependencies_parsed_at":"2024-03-27T21:28:34.425Z","dependency_job_id":"fadf24f7-67cd-43df-80d6-ac90e2262732","html_url":"https://github.com/nebula-plugins/gradle-netflixoss-project-plugin","commit_stats":{"total_commits":476,"total_committers":11,"mean_commits":43.27272727272727,"dds":0.5588235294117647,"last_synced_commit":"290667b4385c7a172be1e4783b7adf2e01710598"},"previous_names":[],"tags_count":105,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nebula-plugins%2Fgradle-netflixoss-project-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nebula-plugins%2Fgradle-netflixoss-project-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nebula-plugins%2Fgradle-netflixoss-project-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nebula-plugins%2Fgradle-netflixoss-project-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nebula-plugins","download_url":"https://codeload.github.com/nebula-plugins/gradle-netflixoss-project-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248008630,"owners_count":21032556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T07:39:15.167Z","updated_at":"2025-04-09T09:09:38.054Z","avatar_url":"https://github.com/nebula-plugins.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"gradle-netflixoss-project-plugin\n================================\n\n![Support Status](https://img.shields.io/badge/nebula-internal-lightgray.svg)\n[![Gradle Plugin Portal](https://img.shields.io/maven-metadata/v/https/plugins.gradle.org/m2/com.netflix.nebula/gradle-netflixoss-project-plugin/maven-metadata.xml.svg?label=gradlePluginPortal)](https://plugins.gradle.org/plugin/nebula.netflixoss)\n[![Maven Central](https://img.shields.io/maven-central/v/com.netflix.nebula/gradle-netflixoss-project-plugin)](https://maven-badges.herokuapp.com/maven-central/com.netflix.nebula/gradle-netflixoss-project-plugin)\n![Build](https://github.com/nebula-plugins/gradle-netflixoss-project-plugin/actions/workflows/nebula.yml/badge.svg)\n[![Apache 2.0](https://img.shields.io/github/license/nebula-plugins/gradle-netflixoss-project-plugin.svg)](http://www.apache.org/licenses/LICENSE-2.0)\n\n\n\n\nGradle plugin to setup common needs for Netflix OSS projects\n\nThis plugin is to support projects in the NetflixOSS org (and it isn't meant to be used elsewhere). It is at its essence\njust a combination of other plugins that are common to all NetflixOSS projects, with some additional configuration. The\nprimary responsibilities is to:\n\n  * Provide release process\n  * Configure publishing\n  * Recommend license headers\n\nThis project could be used as an example of how a \"project plugin\" could work. A \"project plugin\" is a Gradle plugin that\nprovides consistency across many projects, e.g. in a Github org or an enterprise.\n\n# Plugins Used\n\nFor reference, these are Gradle-related modules used:\n\n  * com.netflix.nebula:gradle-dependency-lock-plugin - allow project to declare their ideal state of dependencies and lock them to specific versions for releases.\n  * com.netflix.nebula:gradle-contacts-plugin - to add developers to publications\n  * com.netflix.nebula:nebula-project-plugin\n  * com.netflix.nebula:nebula-bintray-plugin - wraps gradle-bintray-plugin with different defaults and adding OJO support and multi-module support.\n  * com.netflix.nebula:nebula-publishing-plugin - for producing a jar, source jar, javadoc jar with metadata about how it was produced.\n  * com.netflix.nebula:nebula-release-plugin - for providing release tasks, versioning, and tagging\n  * nl.javadude.gradle.plugins:license-gradle-plugin - for license recommendations\n\n# Applying the Plugin\n\nThis plugin was tested with Gradle 4.4\n\nTo include, add the following to your build.gradle\n\nIf using gradle 2.1 or newer:\n\n    plugins {\n      id 'nebula.netflixoss' version '5.1.1'\n    }\n\n-or-\n\n    buildscript {\n      repositories { mavenCentral() }\n      dependencies { classpath 'com.netflix.nebula:gradle-netflixoss-project-plugin:5.1.1' }\n    }\n\n    allprojects {\n        apply plugin: 'nebula.netflixoss'\n    }\n\n# Defaults\n\nThese are some of the defaults that are set.\n\n* sourceCompatibility 1.7: Please change if you want to publish to older or newer java versions\n* release.scope set to minor: By default always bump the minor version\n* a placeholder developer is added to the contacts section: to add more see [gradle-contacts-plugin](https://github.com/nebula-plugins/gradle-contacts-plugin)\n\n\n    contacts {\n      'myemail@sample.org' {\n        github '\u003cgithubid\u003e'\n        moniker 'First Last'\n      }\n    }\n\n# Variants\n\n## License Check\n\nBy default the license check is on. To turn it off:\n\n    license {\n        ignoreFailures = true\n    }\n\n# Release Task Information and Configuration\n\nsee [nebula-release-plugin](https://github.com/nebula-plugins/nebula-release-plugin)\n\nNOTE: We disable the `devSnapshot` and  `immutableSnapshot` tasks since we release to oss.jfrog.org with maven style -SNAPSHOT versions and those tasks are using incompatible version patterns.\n\n### Release Tasks\n\n* `snapshot` - release a snapshot version, does not create a tag, the version will be `major.minor.patch-SNAPSHOT`\n* `candidate` - release a candidate version, creates a tag, the version will be `major.minor.patch-rc.#`\n* `final` - release a final version, creates a tag, the version will be `major.minor.patch`\n\n### Properties to change the version\n\n-Prelease.scope - can be used to change which part of the version string is changed\n\n* major - If last tag was v1.2.3 the release would go to v2.0.0\n* minor - If last tag was v1.2.3 the release would go to v1.3.0, this is the default\n* patch - If last tag was v1.2.3 the release would go to v1.2.4\n\n### Properties to disable branch checking for travisci releases off existing tags\n\n-Prelease.travisci - takes a boolean, true disables the prepare checks and release tagging, false(the default) leaves the normal checks in place.\n-Prelease.disableGitChecks - does the same as above\n\n# Where We Publish by Default\n\n`snapshot` builds are published to oss.jfrog.org\n`candidate` we publish to a special candidate repo https://dl.bintray.com/netflixoss/oss-candidate\n`final` we publish to jcenter and mavenCentral\n\n### Build Property to Disable Alternative Publishing Repository\n\nif the following property is in place and set to false we will publish to jcenter and mavenCentral instead of a staging candidate repo\n\n    ./gradlew -PnetflixossAltCandidateRepo=false clean candidate\n\nGradle Compatibility Tested\n---------------------------\n\nBuilt with Oracle JDK7\nTested with Oracle JDK8\n\n| Gradle Version | Works |\n| :------------: | :---: |\n| \u003c= 4.3.1       | no    |\n| 4.4            | yes   |\n\nLICENSE\n=======\n\nCopyright 2014-2019 Netflix, Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n\u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnebula-plugins%2Fgradle-netflixoss-project-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnebula-plugins%2Fgradle-netflixoss-project-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnebula-plugins%2Fgradle-netflixoss-project-plugin/lists"}