Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
Generate sources and javadoc artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorhugods committed Jul 14, 2021
1 parent 31df406 commit 1d1e17b
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,12 @@ build/
dist/
output/
local.properties
*DS_Store*
*.idea*
*.iml
android/.gradle
android/*.aar
android/*.pom
android/*.gz
android/*.iml
android/*.properties
33 changes: 32 additions & 1 deletion TEMPLATE.pom
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,18 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.wire</groupId>
<artifactId>cryptobox-android</artifactId>
<packaging>aar</packaging>
<description>cryptobox-android</description>
<version>%%VERSION%%</version>
<packaging>aar</packaging>
<url>https://github.com/wireapp/cryptobox-jni</url>

<scm>
<connection>scm:git:git://github.com/wireapp/cryptobox-jni</connection>
<developerConnection>scm:git:git://github.com/wireapp/cryptobox-jni</developerConnection>
<tag>HEAD</tag>
<url>https://github.com/wireapp/cryptobox-jni</url>
</scm>

<licenses>
<license>
<name>GPL-3.0</name>
Expand All @@ -18,4 +26,27 @@
<organization>
<name>com.wire</name>
</organization>

<developers>
<developer>
<id>makingthematrix</id>
<name>Maciej Gorywoda</name>
<email>[email protected]</email>
<organization>Project Zeta GmbH</organization>
<organizationUrl>https://wire.com</organizationUrl>
<roles>
<role>developer</role>
</roles>
</developer>
<developer>
<id>vitorhugods</id>
<name>Vitor Hugo Schwaab</name>
<email>[email protected]</email>
<organization>Project Zeta GmbH</organization>
<organizationUrl>https://wire.com</organizationUrl>
<roles>
<role>developer</role>
</roles>
</developer>
</developers>
</project>
14 changes: 13 additions & 1 deletion android/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,23 @@ dist/cryptobox-android-$(VERSION).aar: dist-libs dist-jar
cd dist/aar && zip -r ../cryptobox-android-$(VERSION).aar *
rm -rf dist/aar

dist/cryptobox-android-$(VERSION)-sources.jar:
jar -cvf dist/cryptobox-android-$(VERSION)-sources.jar -C ../src/java .

dist/cryptobox-android-$(VERSION)-javadoc.jar: doc
jar -cvf dist/cryptobox-android-$(VERSION)-javadoc.jar -C dist/javadoc .

.PHONY: dist-aar
dist-aar: dist/cryptobox-android-$(VERSION).aar

.PHONY: dist-sources
dist-sources: dist/cryptobox-android-$(VERSION)-sources.jar

.PHONY: dist-javadoc
dist-javadoc: dist/cryptobox-android-$(VERSION)-javadoc.jar

.PHONY: dist
dist: compile dist-tar dist-aar
dist: compile dist-tar dist-aar dist-sources dist-javadoc

#############################################################################
# cryptobox
Expand Down
2 changes: 1 addition & 1 deletion mk/version.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION := 1.1.2
VERSION := 1.1.3

0 comments on commit 1d1e17b

Please sign in to comment.