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
3 changes: 3 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ Release Process
4. Tag: `git tag -a X.Y.Z -m "Version X.Y.Z"`
5. Push: `git push && git push --tags`
6. Add the new release with notes (https://github.com/dsrees/JavaPhoenixClient/releases).
7. Publish to Maven Central by running `./gradlew clean publish`. Can only be done by dsrees until CI setup
8. Close the staging repo here: https://s01.oss.sonatype.org/#stagingRepositories
9. Release the closed repo
47 changes: 21 additions & 26 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,19 +1,36 @@
buildscript { repositories { jcenter() } }
buildscript {
repositories {
jcenter()
mavenCentral()
}

dependencies {
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.14.2'
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:1.4.30'
}
}

plugins {
id 'java'
id 'jacoco'
id 'org.jetbrains.kotlin.jvm' version '1.3.31'
id 'nebula.project' version '6.0.3'
id "nebula.maven-publish" version '9.5.4'
id 'nebula.nebula-bintray' version '5.0.0'
}

ext {
RELEASE_REPOSITORY_URL = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
SNAPSHOT_REPOSITORY_URL = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
}

apply plugin: "org.jetbrains.dokka"
apply plugin: "com.vanniktech.maven.publish"

group 'com.github.dsrees'
version '0.3.4'

sourceCompatibility = 1.8

repositories {
jcenter()
mavenCentral()
}

Expand Down Expand Up @@ -49,32 +66,10 @@ jacocoTestReport {
}
}



compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}

bintray {
user = System.getenv('bintrayUser')
key = System.getenv('bintrayApiKey')
dryRun = false
publish = true
pkg {
repo = 'java-phoenix-client'
name = 'JavaPhoenixClient'
userOrg = user
websiteUrl = 'https://github.com/dsrees/JavaPhoenixClient'
issueTrackerUrl = 'https://github.com/dsrees/JavaPhoenixClient/issues'
vcsUrl = 'https://github.com/dsrees/JavaPhoenixClient.git'
licenses = ['MIT']
version {
name = project.version
vcsTag = project.version
}
}
publications = ['nebula']
}
20 changes: 20 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
GROUP=com.github.dsrees
POM_ARTIFACT_ID=JavaPhoenixClient
VERSION_NAME=0.3.4

POM_NAME=JavaPhoenixClient
POM_DESCRIPTION=A phoenix channels client built for the JVM
POM_INCEPTION_YEAR=2018

POM_URL=https://github.com/dsrees/JavaPhoenixClient
POM_SCM_URL=https://github.com/dsrees/JavaPhoenixClient.git
POM_SCM_CONNECTION=scm:git:git://github.com/dsrees/JavaPhoenixClient.git
POM_SCM_DEV_CONNECTION=scm:git:ssh://[email protected]/dsrees/JavaPhoenixClient.git

POM_LICENCE_NAME=MIT License
POM_LICENCE_URL=https://github.com/dsrees/JavaPhoenixClient/blob/master/LICENSE.md
POM_LICENCE_DIST=repo

POM_DEVELOPER_ID=dsrees
POM_DEVELOPER_NAME=Daniel Rees
POM_DEVELOPER_URL=https://github.com/dsrees/
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Jun 13 12:25:29 EDT 2019
#Thu Mar 18 20:34:38 EDT 2021
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-all.zip