diff --git a/build.gradle b/build.gradle index 0d7369f..a652e81 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,6 @@ buildscript { classpath "com.android.tools.build:gradle:$versions.gradlePlugin" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin" classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:$versions.bintrayPlugin" - classpath "com.github.dcendents:android-maven-gradle-plugin:$versions.mavenPlugin" } } diff --git a/dependencies.gradle b/dependencies.gradle index ae7504b..2e2a5a5 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -18,7 +18,7 @@ ext.versions = [ minSdk : 19, compileSdk : 29, buildTools : '28.0.3', - publishVersion : '0.0.8', + publishVersion : '1.1.3', publishVersionCode: 1, gradlePlugin : '3.4.2', bintrayPlugin : '1.8.4', diff --git a/library/release.gradle b/library/release.gradle index 3a7f837..63318a6 100644 --- a/library/release.gradle +++ b/library/release.gradle @@ -14,14 +14,13 @@ * limitations under the License. */ -apply plugin: 'com.github.dcendents.android-maven' apply plugin: 'com.jfrog.bintray' apply from: 'keystore.gradle' ext { publishedGroupId = 'bg.devlabs.fullscreenvideoview' artifactId = 'library' - libraryVersion = '1.1.2' + libraryVersion = '1.1.3' } version = libraryVersion @@ -42,16 +41,13 @@ bintray { } } -install { - repositories.mavenInstaller { - pom.project { - packaging 'aar' - groupId publishedGroupId - artifactId artifactId - version libraryVersion - name artifactId - } - } +project.ext { + mavDevelopers = ["SP":"Slavi Petrov"] + mavSiteUrl = "https://github.com/dev-labs-bg/fullscreen-video-view" + mavGitUrl = mavSiteUrl + '.git' + mavProjectName = 'FullscreenVideoView' + mavLibraryLicenses = ["Apache-2.0":'http://www.apache.org/licenses/LICENSE-2.0.txt'] + mavLibraryDescription = "FullscreenVideoView is a custom VideoView Android library which makes loading, setting up and going fullscreen for video views easy." } if (project.hasProperty("android")) { @@ -87,4 +83,6 @@ task javadocJar(type: Jar, dependsOn: javadoc) { artifacts { archives javadocJar archives sourcesJar -} \ No newline at end of file +} + +apply from: 'https://raw.githubusercontent.com/sky-uk/gradle-maven-plugin/master/gradle-mavenizer.gradle' \ No newline at end of file