Skip to content

Commit

Permalink
lib: setup publishing
Browse files Browse the repository at this point in the history
Signed-off-by: Harsh Shandilya <[email protected]>
  • Loading branch information
msfjarvis committed Apr 6, 2021
1 parent fb0f593 commit 3c408df
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Maven publishing
GROUP=com.github.android-password-store

# OSSRH sometimes struggles with slow deployments, so this makes Gradle
# more tolerant to those delays.
systemProp.org.gradle.internal.http.connectionTimeout=500000
systemProp.org.gradle.internal.http.socketTimeout=500000
12 changes: 12 additions & 0 deletions lib/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
plugins {
id("org.jetbrains.kotlin.jvm") version "1.4.32"
id("org.jetbrains.dokka") version "1.4.30"
id("com.vanniktech.maven.publish") version "0.13.0"
}

repositories {
mavenCentral()
maven("https://dl.bintray.com/kotlin/kotlinx") {
name = "KotlinX Bintray"
content {
includeModule("org.jetbrains.kotlinx", "kotlinx-html-jvm")
}
}
}

dependencies {
Expand All @@ -12,3 +20,7 @@ dependencies {
testImplementation("org.jetbrains.kotlin:kotlin-test")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit")
}

signing {
useGpgCmd()
}
18 changes: 18 additions & 0 deletions lib/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
VERSION_NAME=1.0.0-alpha01
POM_ARTIFACT_ID=sublime-fuzzy
POM_NAME=sublime-fuzzy
POM_DESCRIPTION=Kotlin implementation of Sublime Text's fuzzy search algorithm
POM_INCEPTION_YEAR=2021
POM_URL=https://github.com/Android-Password-Store/sublime-fuzzy
POM_SCM_URL=https://github.com/Android-Password-Store/sublime-fuzzy
POM_SCM_CONNECTION=scm:git:https://github.com/Android-Password-Store/sublime-fuzzy.git
POM_SCM_DEV_CONNECTION=scm:git:ssh://[email protected]:Android-Password-Store/sublime-fuzzy
POM_LICENCE_NAME=MIT
POM_LICENCE_URL=https://github.com/android-password-store/sublime-fuzzy/raw/develop/LICENSE
POM_LICENCE_DIST=repo
POM_DEVELOPER_ID=android-password-store
POM_DEVELOPER_NAME=The Android Password Store Authors
[email protected]

0 comments on commit 3c408df

Please sign in to comment.