A Mill plugin to publish artifacts to S3.
Publishing assembly to S3.
build.sc:
import $ivy.`com.goyeau::mill-s3-publish::<latest version>`
import com.goyeau.mill.s3.publish.S3PublishModule
import mill.scalalib.JavaModule
object project extends JavaModule with S3PublishModule {
override def s3BucketName = "my-bucket"
override def s3BucketKey =
s"artifacts/com/goyeau/${artifactId()}/$jobVersion()/${artifactId()}-$jobVersion()-assembly.jar"
}
> mill project.s3Publish
- Inspired by Frugal Mechanic SBT S3 Resolver
Contributions are more than welcome!
See CONTRIBUTING.md for all the information and getting help.