Skip to content
Snippets Groups Projects
Commit 6635b737 authored by akwizgran's avatar akwizgran
Browse files

Add Maven publishing plugin.

parent c279d66f
No related branches found
No related tags found
No related merge requests found
Pipeline #14064 passed
# Project-wide Gradle settings. org.gradle.jvmargs=-Xmx2g -Dfile.encoding=UTF-8
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app's APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true android.useAndroidX=true
# Enables namespacing of each library's R class so that its R class includes only the android.nonTransitiveRClass=true
# resources declared in the library itself and none from the library's dependencies, GROUP=org.briarproject
# thereby reducing the size of the R class for that library # POM_ARTIFACT_ID is set in the module's gradle.properties
android.nonTransitiveRClass=true VERSION_NAME=0.0.1
\ No newline at end of file POM_NAME=Onion Wrapper
POM_DESCRIPTION=A Java library providing a wrapper for running a Tor client.
POM_INCEPTION_YEAR=2023
POM_URL=https://code.briarproject.org/briar/onionwrapper
POM_LICENSE_NAME=GPL-v3.0
POM_LICENSE_URL=http://www.gnu.org/licenses/gpl-3.0.txt
POM_LICENSE_DIST=repo
POM_SCM_URL=https://code.briarproject.org/briar/onionwrapper
POM_SCM_CONNECTION=scm:git:git://code.briarproject.org:briar/onionwrapper.git
POM_SCM_DEV_CONNECTION=scm:git:ssh://git@code.briarproject.org:briar/onionwrapper.git
POM_DEVELOPER_ID=akwizgran
POM_DEVELOPER_NAME=Michael Rogers
POM_DEVELOPER_URL=https://github.com/akwizgran/
plugins { plugins {
id 'com.android.library' id 'com.android.library'
id 'com.vanniktech.maven.publish' version '0.18.0'
} }
android { android {
......
POM_ARTIFACT_ID=onionwrapper-android
plugins { plugins {
id 'java-library' id 'java-library'
id 'com.vanniktech.maven.publish' version '0.18.0'
} }
java { java {
...@@ -19,3 +20,4 @@ dependencies { ...@@ -19,3 +20,4 @@ dependencies {
testImplementation 'org.briarproject:obfs4proxy-linux:0.0.14-tor2' testImplementation 'org.briarproject:obfs4proxy-linux:0.0.14-tor2'
testImplementation 'org.briarproject:snowflake-linux:2.5.1' testImplementation 'org.briarproject:snowflake-linux:2.5.1'
} }
POM_ARTIFACT_ID=onionwrapper-java
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment