diff --git a/mopub-sdk/publisher.gradle b/mopub-sdk/publisher.gradle index eafe4747..9e9155f1 100644 --- a/mopub-sdk/publisher.gradle +++ b/mopub-sdk/publisher.gradle @@ -3,15 +3,6 @@ // https://www.mopub.com/legal/sdk-license-agreement/ apply plugin: 'com.android.library' -apply plugin: 'maven-publish' -apply plugin: 'signing' - -def siteUrl = 'https://github.com/badoo/mopub-android-sdk' -def gitUrl = 'https://github.com/badoo/mopub-android-sdk.git' -def issuesUrl = 'https://github.com/mopub/mopub-android-sdk/issues' -def bintrayRepo = 'mopub-android-sdk' -def bintrayUserOrg = 'badoo' -// Put your credentials (bintray.user, bintray.apikey) in ~/.gradle/gradle.properties task sourcesJar(type: Jar) { from android.sourceSets.main.java.srcDirs @@ -21,56 +12,3 @@ task sourcesJar(type: Jar) { artifacts { archives sourcesJar } - -afterEvaluate { - publishing { - publications { - release(MavenPublication) { - from components.release - - groupId = project.group - artifactId = project.ext.projectName - version = project.version - - pom { - name = project.ext.displayName - description = project.description - url = 'https://developers.mopub.com/publishers/' - - licenses { - license { - name = 'MoPub SDK License Agreement' - url = 'https://www.mopub.com/legal/sdk-license-agreement/' - } - } - developers { - developer { - id = 'mopub' - name = 'MoPub (a division of Twitter, Inc.)' - url = 'https://www.mopub.com' - email = 'support@mopub.com' - } - } - scm { - connection = 'scm:git:git://' + gitUrl - developerConnection = 'scm:git:ssh://' + gitUrl - url = siteUrl - } - } - } - } - repositories { - maven { - url = "https://oss.sonatype.org/service/local/staging/deploy/maven2/" - credentials { - username = project.hasProperty("maven.user") ? project.getProperty("maven.user") : "" - password = project.hasProperty("maven.pass") ? project.getProperty("maven.pass") : "" - } - } - } - } - - signing { - sign publishing.publications.release - } -}