diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..b5e527b --- /dev/null +++ b/gradle.properties @@ -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 diff --git a/lib/build.gradle.kts b/lib/build.gradle.kts index 47b09ae..5071bbd 100644 --- a/lib/build.gradle.kts +++ b/lib/build.gradle.kts @@ -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 { @@ -12,3 +20,7 @@ dependencies { testImplementation("org.jetbrains.kotlin:kotlin-test") testImplementation("org.jetbrains.kotlin:kotlin-test-junit") } + +signing { + useGpgCmd() +} diff --git a/lib/gradle.properties b/lib/gradle.properties new file mode 100644 index 0000000..ee69c9c --- /dev/null +++ b/lib/gradle.properties @@ -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://git@github.com: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 +POM_DEVELOPER_EMAIL=aps@msfjarvis.dev