Skip to content

Commit

Permalink
remove bintray
Browse files Browse the repository at this point in the history
  • Loading branch information
mfatihercik committed Jun 13, 2023
1 parent 5f8b0c0 commit 47ec818
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 57 deletions.
94 changes: 37 additions & 57 deletions dsm/build.gradle
Original file line number Diff line number Diff line change
@@ -1,33 +1,29 @@
buildscript {
repositories {
maven { url "https://repo.spring.io/plugins-release" }
jcenter ()
jcenter()
}
dependencies {
classpath ("io.spring.gradle:propdeps-plugin:0.0.9.RELEASE")
classpath("io.spring.gradle:propdeps-plugin:0.0.9.RELEASE")
}
}
plugins {
id "com.jfrog.bintray" version "1.8.4"
}


apply plugin: 'propdeps-maven'
apply plugin: 'signing'
apply plugin: 'propdeps'
apply plugin: 'propdeps-idea'
apply plugin: 'propdeps-eclipse'
apply plugin: 'com.jfrog.bintray'
apply plugin: 'maven-publish'
apply plugin: 'java'
apply plugin: 'java-library'
apply plugin: 'groovy'


gradle.startParameter.showStacktrace = org.gradle.api.logging.configuration.ShowStacktrace.ALWAYS
gradle.startParameter.showStacktrace = ShowStacktrace.ALWAYS


group = 'com.github.mfatihercik'
version = '1.0.4'
version = '1.0.5'
sourceCompatibility = '1.7'
targetCompatibility = '1.7'

Expand All @@ -41,16 +37,18 @@ task javadocJar(type: Jar) {
from javadoc
archiveClassifier = 'javadoc'
}
tasks.withType (Javadoc){
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
publishing {
publications {
DSMPublication (MavenPublication) {
from components.java
artifactId='dsm'
maven(MavenPublication) {
group = 'com.github.mfatihercik'
artifactId = 'dsm'
version = '1.0.5'
artifact sourcesJar
artifact javadocJar
from components.java
pom {
name = 'Declarative Stream Mapping (DSM)'
description = 'Declarative way to parse JSON and XML format'
Expand All @@ -75,68 +73,50 @@ publishing {
}
}
}
}
}






repositories {
jcenter ()
mavenCentral ()
}

bintray {
user = 'mfatihercik'
publications = ['DSMPublication']
pkg {
repo = 'github'
name = 'dsm'
vcsUrl='https://github.com/mfatihercik/dsm'
websiteUrl = 'https://mfatihercik.github.io/dsm'
issueTrackerUrl = 'https://github.com/mfatihercik/dsm/issues'
licenses=['MIT']
publicDownloadNumbers = true
githubRepo = 'mfatihercik/dsm' //Optional Github repository
githubReleaseNotesFile = 'README.md' //Optional Github readme file
version {
name = '1.0.4'
desc = 'Declarative Stream Mapping (DSM)'
gpg {
sign = true //Determines whether to GPG sign the files. The default is false
passphrase = 'DSMLibrary13' //Optional. The passphrase for GPG signing'
}
repositories {
maven {
credentials {
username = "$usr"
password = "$pwd"
}
released = new Date ()
vcsTag = '1.0.0'

url = "https://oss.sonatype.org/service/local/staging/deploy/maven2"
// url = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2"
}
}
}

signing {
sign publishing.publications
}

repositories {
mavenCentral()
}

dependencies {

compile ("org.apache.commons:commons-jexl3:3.1")
compile ("org.yaml:snakeyaml:1.23")
compile ("com.fasterxml.jackson.core:jackson-databind:2.9.7")
compile('org.apache.commons:commons-jexl3:3.2.1')
compile('org.yaml:snakeyaml:2.0')
compile('com.fasterxml.jackson.core:jackson-databind:2.15.1')

optional group: 'org.codehaus.groovy', name: 'groovy-jsr223', version: '2.5.6'

testCompile ("junit:junit:4.12")
testCompile ("org.mockito:mockito-core:2.23.0")
testCompile('junit:junit:4.13.1')
testCompile("org.mockito:mockito-core:2.23.0")

testCompile "cglib:cglib:3.2.10"
testCompile "org.codehaus.groovy:groovy-all:2.5.6"
testCompile 'org.spockframework:spock-core:1.2-groovy-2.5'
testCompile("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.9.4")
testCompile 'cglib:cglib:3.3.0'
testCompile 'org.codehaus.groovy:groovy-all:2.5.6'
testCompile 'org.spockframework:spock-core:2.3-groovy-2.5'
testCompile('com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.14.2')

// Use JUnit test framework
testImplementation ('junit:junit:4.12')
testImplementation('junit:junit:4.13.1')
}
test {
useJUnit ()
useJUnit()
testLogging {
showStandardStreams = true
}
Expand Down
5 changes: 5 additions & 0 deletions dsm/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
usr = mfatihercik
pwd = M.fatih_1453
signing.keyId=636CDCAB
signing.password=Mfe07010726!
signing.secretKeyRingFile=/Users/fatih.ercik/.gnupg/secring.kbx

0 comments on commit 47ec818

Please sign in to comment.