-
-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Publish to my local maven repo. #34
Comments
yes. set the
|
I am not running a repo server. |
You could use the // root build.gradle
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.2'
classpath 'com.github.dcendents:android-maven-plugin:1.0'
}
} // library build.gradle
apply plugin: 'android-maven'
version = "1.0.0"
group = "com.example"
archivesBaseName = "awesome-library" |
As part of this, you get access to the gradle maven plugin, and one of it's tasks https://docs.gradle.org/current/userguide/maven_plugin.html#N139B5 is
should do it |
Not sure why yet, but install seems to not pull in all transitive dependencies. The generated pom file is incomplete |
@yogurtearl @alopix @johnjohndoe @caseykulm You can publish to your local maven repo with https://github.com/Vorlonsoft/GradleMavenPush. Please read README.md before use it. 6. Build and Deploy/InstallYou can now build and deploy on JCenter, Maven Central or Corporate staging/snapshot servers: $ gradle deployOnServerRepository Build and install on local Maven (~/.m2/repository/): $ gradle installOnLocalRepository Build and deploy on local Maven (~/.m2/repository/): $ gradle deployOnLocalRepository |
Is there a way to publish to my local maven repo?
The text was updated successfully, but these errors were encountered: