Skip to content

A gradle build script to build netty-tcnative binaries for alpine linux and publish them to a repository

Notifications You must be signed in to change notification settings

dimitarg/build_tcnative_alpine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

build_tcnative_alpine

Overview

A gradle build script to build netty-tcnative binaries for alpine linux and publish them to a repository - via a single command.

It utilizes this docker image to build the binaries. Credits to @pires

Prerequisites

  • You need docker on your system
  • If you are publishing to a remote maven repository, you need this in your ~/.gradle/gradle.properties:
mavenRepoUrl=https://your/repo
mavenRepoUser=your_user
mavenRepoPassword=your_pass

Configuration

You can confugure what version (and git tag) of tcnative will be built via the system property tcnative_version

Usage

Publishing to the local maven repo

./gradlew publishToMavenLocal

, or if you want to build a specific version:

./gradlew publishToMavenLocal -Dtcnative_version=(some netty-tcnative git tag)

Publishing to the remote maven repo

You need to setup gradle.properties like this

Again the commands are:

./gradlew publish

, or if you want to build a specific version:

./gradlew publish -Dtcnative_version=(some netty-tcnative git tag)

Output

The artifacts are published with classifier linux-x86_64-alpine

About

A gradle build script to build netty-tcnative binaries for alpine linux and publish them to a repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published