diff --git a/build.gradle b/build.gradle index 9e66544..8f28a03 100644 --- a/build.gradle +++ b/build.gradle @@ -7,6 +7,8 @@ buildscript { google() mavenCentral() jcenter() + mavenLocal() + } dependencies { classpath 'com.android.tools.build:gradle:4.0.2' @@ -24,6 +26,7 @@ allprojects { google() mavenCentral() maven { url 'https://jitpack.io' } + mavenLocal() } tasks.withType(Javadoc).all { diff --git a/gradle.properties b/gradle.properties index 941d968..27baa63 100644 --- a/gradle.properties +++ b/gradle.properties @@ -23,5 +23,5 @@ kotlin.code.style=official # bintray upload USER_ORG=vitaviva ARTIFACT_GROUP=com.github.fragivity -ARTIFACT_VERSION=0.2.6.2 +ARTIFACT_VERSION=0.2.7 WEB_SITE=https://github.com/vitaviva/fragivity diff --git a/gradle/publish.gradle b/gradle/publish.gradle new file mode 100644 index 0000000..3848074 --- /dev/null +++ b/gradle/publish.gradle @@ -0,0 +1,22 @@ +apply plugin: 'maven-publish' + + +afterEvaluate { + publishing { + publications { + release(MavenPublication) { + from components.release + groupId = ARTIFACT_GROUP + artifactId = ARTIFACT_NAME + version = ARTIFACT_VERSION + } + + debug(MavenPublication) { + from components.debug + groupId = ARTIFACT_GROUP + artifactId = ARTIFACT_NAME + version = ARTIFACT_VERSION + } + } + } +} \ No newline at end of file diff --git a/library/CHANGE_LOG.md b/library/CHANGE_LOG.md index 1d32dfb..991f9cb 100644 --- a/library/CHANGE_LOG.md +++ b/library/CHANGE_LOG.md @@ -1,4 +1,4 @@ -## 0.2.6 +## 0.2.7 fix https://github.com/vitaviva/fragivity/issues/37 ## 0.2.5 diff --git a/library/build.gradle b/library/build.gradle index 71b4b69..1406120 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -58,4 +58,5 @@ configurations.all { } } -apply from: rootProject.file("gradle/bintray.gradle") \ No newline at end of file + +apply from: rootProject.file("gradle/publish.gradle") \ No newline at end of file