Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ subprojects {
apply plugin: 'java-library'
apply plugin: 'maven-publish'
apply plugin: 'io.spring.dependency-management'
apply plugin: "com.jfrog.artifactory"
apply plugin: 'com.jfrog.bintray'
apply plugin: 'signing'

group = "org.openmbee.mms"
Expand Down Expand Up @@ -159,40 +157,4 @@ subprojects {
sign publishing.publications.mavenJava
}
}

//https://www.jfrog.com/confluence/display/JFROG/Gradle+Artifactory+Plugin
//can use this or set artifactory info directly under publishing/repositories?
artifactory {
contextUrl = 'https://mms.jfrog.io/mms'
publish {
repository {
repoKey = project.getProperties().get('artifactoryRepository')
username = project.getProperties().get('artifactoryUsername')
password = project.getProperties().get('artifactoryPassword')
maven = true
}
defaults {
publications('mavenJava')
publishArtifacts = true
// Properties to be attached to the published artifacts.
//properties = ['qa.level': 'basic', 'dev.team' : 'core']
// Publish generated POM files to Artifactory (true by default)
publishPom = true
}
}
}

bintray {
user = project.getProperties().get('bintrayUser')
key = project.getProperties().get('bintrayKey')
publications = ['mavenJava']
publish = true
pkg {
repo = 'maven'
name = 'mms-' + project.name
userOrg = 'openmbee'
licenses = ['Apache-2.0']
vcsUrl = 'https://github.com/Open-MBEE/mms.git'
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.nio.charset.StandardCharsets;
import java.time.Instant;
import java.util.*;
Expand Down