Skip to content

Commit

Permalink
add publishing script
Browse files Browse the repository at this point in the history
  • Loading branch information
zotovy committed Oct 2, 2021
1 parent 8d79dcc commit 3d05610
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ buildscript {
repositories {
google()
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
classpath "com.android.tools.build:gradle:7.0.2"
Expand Down
14 changes: 14 additions & 0 deletions solarized/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'maven-publish'
}

android {
Expand Down Expand Up @@ -39,4 +40,17 @@ dependencies {
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}

afterEvaluate {
publishing {
publications {
release (MavenPublication) {
from components.release
groupId = "dev.zotov.phototime.solarized"
artifactId = "final"
version = "1.0"
}
}
}
}

0 comments on commit 3d05610

Please sign in to comment.