Created
April 11, 2019 20:58
-
-
Save jbruchanov/d5ea1ad51ee18cf9c85051b541ae01c0 to your computer and use it in GitHub Desktop.
Maven publish
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'maven-publish' | |
task sourcesJar(type: Jar) { | |
from android.sourceSets.main.java.srcDirs | |
classifier = 'sources' | |
group = 'publishing' | |
} | |
publishing { | |
publications { | |
maven(MavenPublication) { | |
groupId "com.scurab" | |
artifactId "anuitor" | |
version "0.9.99" | |
artifact bundleReleaseAar | |
artifact sourcesJar | |
pom { | |
name = "AnUitor" | |
description = "AnUitor" | |
url = "http://anuitor.scurab.com/" | |
} | |
} | |
} | |
repositories { | |
mavenLocal() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment