start work on getting maven working..
This commit is contained in:
parent
bd8d52f3f8
commit
aef5aa0b33
|
@ -3,6 +3,7 @@ import java.text.SimpleDateFormat
|
|||
dependsOn(':test-testng')
|
||||
|
||||
usePlugin 'java'
|
||||
usePlugin 'maven'
|
||||
|
||||
archivesBaseName = "$project.archivesBaseName"
|
||||
|
||||
|
@ -62,3 +63,16 @@ test {
|
|||
options.listeners = ["org.elasticsearch.util.testng.Listeners"]
|
||||
options.systemProperties = ["es.test.log.conf": System.getProperty("es.test.log.conf", "log4j-gradle.properties")]
|
||||
}
|
||||
|
||||
configure(install.repositories.mavenInstaller) {
|
||||
// pom.name = "ElasticSearch"
|
||||
// pom.description = "Open Source, Distributed, RESTful, Search Engine"
|
||||
// pom.url = "http://www.elasticsearch.org"
|
||||
}
|
||||
|
||||
uploadArchives {
|
||||
repositories.mavenDeployer {
|
||||
// repository(url: "file://localhost/" + rootProject.projectDir.absolutePath + "/build/maven/repository")
|
||||
// snapshotRepository(url: "file://localhost/" + rootProject.projectDir.absolutePath + "/build/maven/snapshotRepository")
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue