{"id":19653266,"url":"https://github.com/florianmichael/baseproject","last_synced_at":"2025-02-27T01:33:07.074Z","repository":{"id":200286496,"uuid":"705184517","full_name":"FlorianMichael/BaseProject","owner":"FlorianMichael","description":"Gradle template project with jar signing, publishing to maven central and GitHub workflows.","archived":false,"fork":false,"pushed_at":"2025-02-22T13:21:13.000Z","size":240,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-22T14:27:41.779Z","etag":null,"topics":["gradle","java","jitpack","maven-central","publishing","reposilite","template"],"latest_commit_sha":null,"homepage":"","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/FlorianMichael.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"FlorianMichael","custom":["https://florianmichael.de/donate"]}},"created_at":"2023-10-15T09:37:33.000Z","updated_at":"2025-02-22T13:21:16.000Z","dependencies_parsed_at":"2024-01-21T14:25:06.542Z","dependency_job_id":"9a96636d-1be7-42f4-955d-c168af20e1d3","html_url":"https://github.com/FlorianMichael/BaseProject","commit_stats":null,"previous_names":["florianmichael/baseproject"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlorianMichael%2FBaseProject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlorianMichael%2FBaseProject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlorianMichael%2FBaseProject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlorianMichael%2FBaseProject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FlorianMichael","download_url":"https://codeload.github.com/FlorianMichael/BaseProject/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240961626,"owners_count":19885366,"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":["gradle","java","jitpack","maven-central","publishing","reposilite","template"],"created_at":"2024-11-11T15:13:42.849Z","updated_at":"2025-02-27T01:33:07.023Z","avatar_url":"https://github.com/FlorianMichael.png","language":"Java","funding_links":["https://github.com/sponsors/FlorianMichael","https://florianmichael.de/donate"],"categories":[],"sub_categories":[],"readme":"# BaseProject\nGradle template project with jar signing, publishing to maven central and GitHub workflows.\n\n## Setup the required environment variables\nYou need to add the following environment variables to your gradle.properties file, which is located in the .gradle folder\nin your home directory.\n\n```properties\n# Signing properties, see https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials\nsigning.keyId=\u003cthe last 8 digits of your key id\u003e\nsigning.password=\u003cyour key password\u003e\nsigning.secretKeyRingFile=\u003cpath to your keyring file\u003e\n\n# Reposilite credentials (In case you want to publish to a reposilite instance)\nreposiliteUsername=\u003cyour account name\u003e\nreposilitePassword=\u003cyour account password\u003e\n\n# Maven central credentials (In case you want to publish to maven central)\n# See https://central.sonatype.org/publish/publish-maven-gradle/\n# This will also require to set up the signing properties\nossrhUsername=\u003cyour account name\u003e\nossrhPassword=\u003cyour account password\u003e # This is an access token nowadays\n```\n\n## Publishing\nUse `./gradlew publishAllPublicationsToOssrhRepository` to publish to maven central.\n\nUse `./gradlew publishAllPublicationsToReposiliteRepository` to publish to a reposilite instance.\n\nUse `./gradlew publish` to publish to both.\n\n## Building\nUse `./gradlew clean build` to build the project.\n\n## Final steps\n- Change all mentions of `BaseProject` to your project name.\n- Change the maven coordinates in the `gradle.properties` file.\n- Change the author/email in all files. (Replace `FlorianMichael/EnZaXD` with your own name, ...)\n- Update the license header located in `.idea/copyright/Apache_2_0.xml`\n- Update the publishing section in the build.gradle file.\n- Delete the all sections between the `Setup the required environment variables` and `Final steps` sections.\n- Update the `How to add this to your project` section to only mention the repositories you are publishing to.\n\n# Why another base project?\nI wanted to have a template project for my own projects, which I can use to quickly start a new project.\n\n## Contact\nIf you encounter any issues, please report them on the [issue tracker](https://github.com/FlorianMichael/BaseProject/issues). If you just want to talk or need help with BaseProject feel free to join my [Discord](https://discord.gg/BwWhCHUKDf).\n\n## How to add this to your project\n### Gradle/Maven\nTo use BaseProject with Gradle/Maven you can use [Maven Central](https://mvnrepository.com/artifact/de.florianmichael/BaseProject) or [Lenni0451's Maven](https://maven.lenni0451.net/#/releases/de/florianmichael/BaseProject).  \nYou can also find instructions how to implement it into your build script there.\n\n### Jar File\nIf you just want the latest jar file you can download it from the GitHub [Actions](https://github.com/FlorianMichael/BaseProject/actions) or use the [Release](https://github.com/FlorianMichael/BaseProject/releases).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorianmichael%2Fbaseproject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflorianmichael%2Fbaseproject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorianmichael%2Fbaseproject/lists"}