sdk/build.gradle
:
apply plugin: "maven"
group = "foo"
version = "1.0"
example/build.gradle
:
repositories {
mavenLocal()
}
dependencies {
compile "foo:sdk:1.0"
}
$sdk> gradle install
$example> gradle build
More Related Contents:
- I want to execute shell commands from Maven’s pom.xml
- Maven: how to override the dependency added by a library
- Specify JDK for Maven to use
- How to get a dependency tree for an artifact?
- How do I execute a program using Maven?
- Maven2 property that indicates the parent directory
- A simple command line to download a remote maven2 artifact to the local repository?
- How can I download a specific Maven artifact in one command line?
- Force re-download of release dependency using Maven
- Maven classpath order issues
- Is there a way to “fail fast” for junit with the maven surefire plugin?
- Maven artifact and groupId naming
- Maven: Command to update repository after adding dependency to POM
- Tomcat 7 – Maven Plugin?
- Maven : Should I keep or remove declared dependencies that are also transitives dependencies?
- Why can’t I activate a Maven2 profile from another profile?
- Setting Java heap space under Maven 2 on Windows
- Setting default values for custom Maven 2 properties
- maven report on licenses your project depends on [closed]
- Using Maven for multiple deployment environment (production/development)
- How can I view transitive dependencies of a Maven pom.xml file?
- Maven: specify the outputDirectory only for packaging a jar?
- What is the difference between “mvn deploy” to a local repo and “mvn install”?
- Maven: how to do parallel builds?
- Is it possible to override the configuration of a plugin already defined for a profile in a parent POM?
- Maven: downloading files from url
- Where is the best place to specify maven repositories, pom.xml or settings.xml?
- Maven plugin executing another plugin
- Maven assembly plugin and adding system dependencies to the classpath
- Unzip dependency in maven