1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- group 'com.uas.platform.oos'
- version '1.0.1-SNAPSHOT'
- apply plugin: 'maven-publish'
- dependencies {
- //Apache Commons
- compile ("org.apache.commons:commons-lang3:3.5")
- compile ("commons-io:commons-io:2.5")
- compile "commons-logging:commons-logging:1.2"
- compile "com.fasterxml.jackson.core:jackson-core:2.8.1"
- compile "com.fasterxml.jackson.core:jackson-databind:2.8.1"
- compile 'com.amazonaws:aws-java-sdk:1.4.7'
- compile "org.springframework:spring-web:4.3.11.RELEASE"
- }
- javadoc {
- options {
- encoding "UTF-8"
- charSet "UTF-8"
- author true
- version true
- links "http://docs.oracle.com/javase/8/docs/api"
- }
- }
- // Package sources
- task sourceJar(type: Jar) {
- classifier "sources"
- from sourceSets.main.allJava
- }
- // Package javadoc
- task docJar(type: Jar, dependsOn: javadoc) {
- classifier "javadoc"
- from javadoc.destinationDir
- }
- publishing {
- publications {
- // Publish maven snapshot
- coreSnapshot(MavenPublication) {
- groupId project.group
- artifactId project.name
- version project.version
- from components.java
- artifact sourceJar
- artifact docJar
- }
- }
- repositories {
- maven {
- credentials {
- username "yingp"
- password "111111"
- }
- url "http://113.105.74.141:8081/artifactory/libs-snapshot-local"
- }
- }
- }
|