{"id":13485420,"url":"https://github.com/icon-project/gradle-javaee-plugin","last_synced_at":"2026-04-04T03:08:56.305Z","repository":{"id":44452517,"uuid":"298145714","full_name":"icon-project/gradle-javaee-plugin","owner":"icon-project","description":"Gradle plugin for Java Execution Environment","archived":false,"fork":false,"pushed_at":"2023-11-01T05:30:42.000Z","size":133,"stargazers_count":5,"open_issues_count":2,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-27T19:40:05.928Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/icon-project.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-09-24T02:14:14.000Z","updated_at":"2024-01-21T17:01:43.000Z","dependencies_parsed_at":"2023-02-10T14:16:21.321Z","dependency_job_id":"4ff4ca05-ece2-40d6-9946-45d5a53afa70","html_url":"https://github.com/icon-project/gradle-javaee-plugin","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/icon-project/gradle-javaee-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icon-project%2Fgradle-javaee-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icon-project%2Fgradle-javaee-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icon-project%2Fgradle-javaee-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icon-project%2Fgradle-javaee-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icon-project","download_url":"https://codeload.github.com/icon-project/gradle-javaee-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icon-project%2Fgradle-javaee-plugin/sbom","scorecard":{"id":480543,"data":{"date":"2025-08-11","repo":{"name":"github.com/icon-project/gradle-javaee-plugin","commit":"fe7811cd4b36f75efe501f8836f422e5b35b6dc5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"checks":[{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/maven_publish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 1/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven_publish.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/icon-project/gradle-javaee-plugin/maven_publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven_publish.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/icon-project/gradle-javaee-plugin/maven_publish.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T16:29:43.431Z","repository_id":44452517,"created_at":"2025-08-19T16:29:43.432Z","updated_at":"2025-08-19T16:29:43.432Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31385980,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T01:22:39.193Z","status":"online","status_checked_at":"2026-04-04T02:00:07.569Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-07-31T18:00:22.079Z","updated_at":"2026-04-04T03:08:56.285Z","avatar_url":"https://github.com/icon-project.png","language":"Java","funding_links":[],"categories":["Execution environment"],"sub_categories":[],"readme":"[![Maven Central](https://maven-badges.herokuapp.com/maven-central/foundation.icon/gradle-javaee-plugin/badge.svg)](https://search.maven.org/search?q=g:foundation.icon%20a:gradle-javaee-plugin)\n\n# Gradle plugin for Java Execution Environment\n\n`gradle-javaee-plugin` is a Gradle plugin to automate the process of generating the optimized jar bundle.\nThe generated jar bundle can be used for deployment to ICON networks that support the Java SCORE execution environment (a.k.a. JavaEE).\n\n## Getting Started\n\n```groovy\nbuildscript {\n    repositories {\n        mavenCentral()\n    }\n    dependencies {\n        classpath 'foundation.icon:gradle-javaee-plugin:0.8.5'\n    }\n}\n\nrepositories {\n    mavenCentral()\n}\n\napply plugin: 'java'\napply plugin: 'foundation.icon.javaee'\n```\n\n## Configuring Tasks\n\nThe `optimizedJar` task type extends from Gradle's `Jar` type.\nThis means that all attributes and methods available on `Jar` are also available on `optimizedJar`.\nRefer the _Gradle User Guide_ for [Jar](https://docs.gradle.org/current/dsl/org.gradle.api.tasks.bundling.Jar.html) for details.\n\n### Specifying a Main Class Name\n\n`mainClassName` property is required to indicate the entry point that is used for the initial execution.\nThis property will be included into the generated jar bundle with the `Main-Class` header in the manifest.\n\n```groovy\noptimizedJar {\n    mainClassName = 'com.iconloop.score.example.HelloWorld'\n}\n```\n\n#### Enabling Debug Mode\n\n`optimizedJar` task obfuscates the Java class names by default to reduce the output jar file size.\nHowever, this makes code analysis more difficult when debugging code by examining the stack trace.\n`enableDebug` option can be used to skip this optimization for debugging purpose.\n\n```groovy\noptimizedJar {\n    mainClassName = 'com.iconloop.score.example.HelloWorld'\n    enableDebug = true\n}\n```\n\n### Jar Deployment\n\nThe `deployJar` extension can be used to deploy the optimized jar to local or remote ICON networks that support the Java SCORE execution environment.\n\n```groovy\ndeployJar {\n    endpoints {\n        local {\n            uri = 'http://localhost:9082/api/v3'\n            nid = 0x3\n        }\n    }\n    keystore = './mykey.json'\n    password = 'keypass'\n    parameters {\n        arg('name', 'Alice')\n    }\n}\n```\n\nThe above extension creates `deployToLocal` task automatically based on the container name of the given endpoints property.\n\n#### Deployment for update\n\nStarting from version `0.7.9`, you can specify `to` address to update an already deployed contract.\n`to` property is optional, thus omitting this is regarded as deploying a new contract.\n\n```groovy\ndeployJar {\n    endpoints {\n        local {\n            uri = 'http://localhost:9082/api/v3'\n            nid = 0x3\n            to = 'cxe3d5237f13530bce0b936df320c0308885d062e9'\n        }\n    }\n    ...\n}\n```\n\n## Examples\n\n- [Java SCORE Examples](https://github.com/icon-project/java-score-examples)\n\n## License\n\nThis project is available under the [Apache License, Version 2.0](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficon-project%2Fgradle-javaee-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficon-project%2Fgradle-javaee-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficon-project%2Fgradle-javaee-plugin/lists"}