Skip to content

ternaryop/drawer

Repository files navigation

drawer

Another drawer library

Local Maven distribution

./gradlew publishToMavenLocal

Maven Central distribution

./gradlew publish --no-daemon --no-parallel
./gradlew closeAndReleaseRepository

The properties shown below are present inside the global ~/.gradle/gradle.properties file

signing.password
signing.secretKeyRingFile
mavenCentralUsername
mavenCentralPassword

On KeePass, under sonatype.org maven central, are stored all files

It's possible to manually close and release the library (this replaces the gradle task closeAndReleaseRepository).

  1. Goto to sonatype
  2. Click on 'Staging Repositories'
  3. Select the item, close then release

Android Studio configuration

  1. Run -> Edit Configuration
  2. Add a Gradle task
Name Gradle Project Tasks
uploadArchives ../app/build.gradle uploadArchives

Common tasks

Run lint and detekt

./gradlew check