Skip to content

Commit 3c408df

Browse files
committed
lib: setup publishing
Signed-off-by: Harsh Shandilya <[email protected]>
1 parent fb0f593 commit 3c408df

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

gradle.properties

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Maven publishing
2+
GROUP=com.github.android-password-store
3+
4+
# OSSRH sometimes struggles with slow deployments, so this makes Gradle
5+
# more tolerant to those delays.
6+
systemProp.org.gradle.internal.http.connectionTimeout=500000
7+
systemProp.org.gradle.internal.http.socketTimeout=500000

lib/build.gradle.kts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
plugins {
22
id("org.jetbrains.kotlin.jvm") version "1.4.32"
3+
id("org.jetbrains.dokka") version "1.4.30"
4+
id("com.vanniktech.maven.publish") version "0.13.0"
35
}
46

57
repositories {
68
mavenCentral()
9+
maven("https://dl.bintray.com/kotlin/kotlinx") {
10+
name = "KotlinX Bintray"
11+
content {
12+
includeModule("org.jetbrains.kotlinx", "kotlinx-html-jvm")
13+
}
14+
}
715
}
816

917
dependencies {
@@ -12,3 +20,7 @@ dependencies {
1220
testImplementation("org.jetbrains.kotlin:kotlin-test")
1321
testImplementation("org.jetbrains.kotlin:kotlin-test-junit")
1422
}
23+
24+
signing {
25+
useGpgCmd()
26+
}

lib/gradle.properties

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
VERSION_NAME=1.0.0-alpha01
2+
POM_ARTIFACT_ID=sublime-fuzzy
3+
POM_NAME=sublime-fuzzy
4+
POM_DESCRIPTION=Kotlin implementation of Sublime Text's fuzzy search algorithm
5+
POM_INCEPTION_YEAR=2021
6+
7+
POM_URL=https://github.com/Android-Password-Store/sublime-fuzzy
8+
POM_SCM_URL=https://github.com/Android-Password-Store/sublime-fuzzy
9+
POM_SCM_CONNECTION=scm:git:https://github.com/Android-Password-Store/sublime-fuzzy.git
10+
POM_SCM_DEV_CONNECTION=scm:git:ssh://[email protected]:Android-Password-Store/sublime-fuzzy
11+
12+
POM_LICENCE_NAME=MIT
13+
POM_LICENCE_URL=https://github.com/android-password-store/sublime-fuzzy/raw/develop/LICENSE
14+
POM_LICENCE_DIST=repo
15+
16+
POM_DEVELOPER_ID=android-password-store
17+
POM_DEVELOPER_NAME=The Android Password Store Authors
18+

0 commit comments

Comments
 (0)