https://github.com/bb4/bb4-gradle
Shared build logic for bb4 projects
https://github.com/bb4/bb4-gradle
build deploy publish scala
Last synced: 3 months ago
JSON representation
Shared build logic for bb4 projects
- Host: GitHub
- URL: https://github.com/bb4/bb4-gradle
- Owner: bb4
- License: mit
- Created: 2021-01-16T14:51:12.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-08-03T12:24:27.000Z (over 1 year ago)
- Last Synced: 2025-02-28T02:38:12.737Z (12 months ago)
- Topics: build, deploy, publish, scala
- Homepage:
- Size: 166 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bb4-gradle
Shared build logic for bb4 projects. There are 3 main components:
- `bb4.gradle` - general build configuration for scala or java projects.
- `bb4-deploy` - used to deploy projects to a website.
- `bb4-publish` - used to deploy projects to sonatype, and from there release to a maven repository so that they can be shared.
To deploy, udpate the versoin in `build.gradle`, and run
`./gradlew publishArtifacts`
To use, include something like the following in your projects build.gradle file.
```
buildscript {
repositories {
// retrieve the shared gradle build scripts from here
maven { url "https://oss.sonatype.org/content/repositories/releases" }
}
dependencies {
classpath 'com.barrybecker4:bb4-gradle:1.6.5'
}
}
apply from: project.buildscript.classLoader.getResource('bb4.gradle').toURI()
:
:
:
apply from: project.buildscript.classLoader.getResource('bb4-publish.gradle').toURI()
apply from: project.buildscript.classLoader.getResource('bb4-deploy.gradle').toURI()
```