<NME> build.gradle
<BEF> apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.jfrog.bintray'

def fullVersion = '1.0.5'

group = 'at.blogc'
version = fullVersion

android {
    compileSdkVersion 26
    buildToolsVersion "26.0.2"

    defaultConfig {
        minSdkVersion 16
        targetSdkVersion 26
        versionCode 1
        versionName fullVersion

        buildConfigField 'int', 'DEFAULT_ANIMATION_DURATION', '750'
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

repositories {
    mavenCentral()
}
    compile 'com.android.support:appcompat-v7:23.1.1'
}

install {
    repositories.mavenInstaller {
        pom.project {
            name 'ExpandableTextView'
            description 'An expandable TextView for Android.'
            url 'https://github.com/Blogcat/Android-ExpandableTextView'
            inceptionYear '2016'

            packaging 'aar'
            groupId group
            artifactId 'expandabletextview'
            version fullVersion

            licenses {
                license {
                    name 'The Apache Software License, Version 2.0'
                    url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
                    distribution 'repo'
                }
            }
            scm {
                connection 'https://github.com/Blogcat/Android-ExpandableTextView.git'
                url 'https://github.com/Blogcat/Android-ExpandableTextView'

            }
            developers {
                developer {
                    id 'cliffus'
                    name 'Cliff Ophalvens'
                    email 'cliff.ophalvens@gmail.com'
                }
            }
        }
    }
}

bintray {
    user = bintray_user
    key = bintray_apikey
}

task sourcesJar(type: Jar) {

    pkg {
        repo = 'maven'
        name = 'expandabletextview'
        userOrg = bintray_user
        licenses = ['Apache-2.0']
        websiteUrl = 'https://github.com/Blogcat/Android-ExpandableTextView'
}

task javadocJar(type: Jar, dependsOn: javadoc) {
    classifier = 'javadoc'
    from javadoc.destinationDir
}

artifacts {
    archives javadocJar
    archives sourcesJar
}

install {
    repositories.mavenInstaller {
        pom.project {
            name 'Android ExpandableTextview'
            description 'An expandable TextView for Android.'
            url 'https://github.com/Blogcat/Android-ExpandableTextView'
            inceptionYear '2016'

            packaging 'aar'
            groupId 'at.blogc'
            artifactId 'expandabletextview'
            version fullVersion

            licenses {
                license {
                    name 'The Apache Software License, Version 2.0'
                    url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
                    distribution 'repo'
                }
            }
            scm {
                connection 'https://github.com/Blogcat/Android-ExpandableTextView.git'
                url 'https://github.com/Blogcat/Android-ExpandableTextView'

            }
            developers {
                developer {
                    id 'cliffus'
                    name 'Cliff Ophalvens'
                    email 'cliff.ophalvens@gmail.com'
                }
            }
        }
    }
}

bintray {
    user = "${bintray_user}"
    key = "${bintray_apikey}"
    configurations = ['archives']

    dryRun = false

    pkg {
        repo = 'maven'
        name = 'android-expandabletextview'
        userOrg = "blogcat"
        licenses = ['Apache-2.0']
        websiteUrl = 'https://github.com/Blogcat/Android-ExpandableTextView'
        issueTrackerUrl = 'https://github.com/Blogcat/Android-ExpandableTextView/issues'
        vcsUrl = 'https://github.com/Blogcat/Android-ExpandableTextView.git'
        githubRepo = 'Blogcat/Android-ExpandableTextView'
        githubReleaseNotesFile = 'CHANGELOG.md'

        version {
            name = fullVersion
            released  = new Date()
            vcsTag = fullVersion

            gpg {
                sign = true
                passphrase = "${bintray_gpg_password}"
            }
        }
    }
}
<MSG> remove gradle maven config

<DFF> @@ -33,42 +33,6 @@ dependencies {
     compile 'com.android.support:appcompat-v7:23.1.1'
 }
 
-install {
-    repositories.mavenInstaller {
-        pom.project {
-            name 'ExpandableTextView'
-            description 'An expandable TextView for Android.'
-            url 'https://github.com/Blogcat/Android-ExpandableTextView'
-            inceptionYear '2016'
-
-            packaging 'aar'
-            groupId group
-            artifactId 'expandabletextview'
-            version fullVersion
-
-            licenses {
-                license {
-                    name 'The Apache Software License, Version 2.0'
-                    url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
-                    distribution 'repo'
-                }
-            }
-            scm {
-                connection 'https://github.com/Blogcat/Android-ExpandableTextView.git'
-                url 'https://github.com/Blogcat/Android-ExpandableTextView'
-
-            }
-            developers {
-                developer {
-                    id 'cliffus'
-                    name 'Cliff Ophalvens'
-                    email 'cliff.ophalvens@gmail.com'
-                }
-            }
-        }
-    }
-}
-
 bintray {
     user = bintray_user
     key = bintray_apikey
@@ -78,7 +42,7 @@ bintray {
 
     pkg {
         repo = 'maven'
-        name = 'expandabletextview'
+        name = 'android-expandabletextview'
         userOrg = bintray_user
         licenses = ['Apache-2.0']
         websiteUrl = 'https://github.com/Blogcat/Android-ExpandableTextView'

{'commit': "diff --git a/expandabletextview/build.gradle b/expandabletextview/build.gradle\nindex 98d98c2..7f6eeb2 100644\n--- a/expandabletextview/build.gradle\n+++ b/expandabletextview/build.gradle\n@@ -33,42 +33,6 @@ dependencies {\n     compile 'com.android.support:appcompat-v7:23.1.1'\n }\n \n-install {\n-    repositories.mavenInstaller {\n-        pom.project {\n-            name 'ExpandableTextView'\n-            description 'An expandable TextView for Android.'\n-            url 'https://github.com/Blogcat/Android-ExpandableTextView'\n-            inceptionYear '2016'\n-\n-            packaging 'aar'\n-            groupId group\n-            artifactId 'expandabletextview'\n-            version fullVersion\n-\n-            licenses {\n-                license {\n-                    name 'The Apache Software License, Version 2.0'\n-                    url 'http://www.apache.org/licenses/LICENSE-2.0.txt'\n-                    distribution 'repo'\n-                }\n-            }\n-            scm {\n-                connection 'https://github.com/Blogcat/Android-ExpandableTextView.git'\n-                url 'https://github.com/Blogcat/Android-ExpandableTextView'\n-\n-            }\n-            developers {\n-                developer {\n-                    id 'cliffus'\n-                    name 'Cliff Ophalvens'\n-                    email 'cliff.ophalvens@gmail.com'\n-                }\n-            }\n-        }\n-    }\n-}\n-\n bintray {\n     user = bintray_user\n     key = bintray_apikey\n@@ -78,7 +42,7 @@ bintray {\n \n     pkg {\n         repo = 'maven'\n-        name = 'expandabletextview'\n+        name = 'android-expandabletextview'\n         userOrg = bintray_user\n         licenses = ['Apache-2.0']\n         websiteUrl = 'https://github.com/Blogcat/Android-ExpandableTextView'\n", 'commit_subject': 'remove gradle maven config', 'repo_name': 'Blogcat/Android-ExpandableTextView', 'committer': {'name': 'Cliff Ophalvens', 'email': 'fea752fff35e61c60fadf303d785fd5f10e7336e@gmail.com', 'time_sec': '1456071154', 'tz_offset': '60', 'date': {'seconds': '1456071154'}}, 'commit_tree': '672e2a39bf286f9ea6419e89accd1cada79c0ad1', 'commit_message': 'remove gradle maven config\n', 'language_name': 'Java', 'license': 'apache-2.0', 'hunks': "@@ -33,42 +33,6 @@ dependencies {\n     compile 'com.android.support:appcompat-v7:23.1.1'\n }\n \n-install {\n-    repositories.mavenInstaller {\n-        pom.project {\n-            name 'ExpandableTextView'\n-            description 'An expandable TextView for Android.'\n-            url 'https://github.com/Blogcat/Android-ExpandableTextView'\n-            inceptionYear '2016'\n-\n-            packaging 'aar'\n-            groupId group\n-            artifactId 'expandabletextview'\n-            version fullVersion\n-\n-            licenses {\n-                license {\n-                    name 'The Apache Software License, Version 2.0'\n-                    url 'http://www.apache.org/licenses/LICENSE-2.0.txt'\n-                    distribution 'repo'\n-                }\n-            }\n-            scm {\n-                connection 'https://github.com/Blogcat/Android-ExpandableTextView.git'\n-                url 'https://github.com/Blogcat/Android-ExpandableTextView'\n-\n-            }\n-            developers {\n-                developer {\n-                    id 'cliffus'\n-                    name 'Cliff Ophalvens'\n-                    email 'cliff.ophalvens@gmail.com'\n-                }\n-            }\n-        }\n-    }\n-}\n-\n bintray {\n     user = bintray_user\n     key = bintray_apikey\n@@ -78,7 +42,7 @@ bintray {\n \n     pkg {\n         repo = 'maven'\n-        name = 'expandabletextview'\n+        name = 'android-expandabletextview'\n         userOrg = bintray_user\n         licenses = ['Apache-2.0']\n         websiteUrl = 'https://github.com/Blogcat/Android-ExpandableTextView'\n", 'addition_count': 1, 'deletion_count': 37, 'src_file': 'a/expandabletextview/build.gradle', 'tgt_file': 'b/expandabletextview/build.gradle', 'file_extension': '.gradle', 'before_file': 'apply plugin: \'com.android.library\'\napply plugin: \'com.github.dcendents.android-maven\'\napply plugin: \'com.jfrog.bintray\'\n\ndef fullVersion = \'1.0.5\'\n\ngroup = \'at.blogc\'\nversion = fullVersion\n\nandroid {\n    compileSdkVersion 26\n    buildToolsVersion "26.0.2"\n\n    defaultConfig {\n        minSdkVersion 16\n        targetSdkVersion 26\n        versionCode 1\n        versionName fullVersion\n\n        buildConfigField \'int\', \'DEFAULT_ANIMATION_DURATION\', \'750\'\n    }\n    buildTypes {\n        release {\n            minifyEnabled false\n            proguardFiles getDefaultProguardFile(\'proguard-android.txt\'), \'proguard-rules.pro\'\n        }\n    }\n}\n\nrepositories {\n    mavenCentral()\n}\n    compile \'com.android.support:appcompat-v7:23.1.1\'\n}\n\ninstall {\n    repositories.mavenInstaller {\n        pom.project {\n            name \'ExpandableTextView\'\n            description \'An expandable TextView for Android.\'\n            url \'https://github.com/Blogcat/Android-ExpandableTextView\'\n            inceptionYear \'2016\'\n\n            packaging \'aar\'\n            groupId group\n            artifactId \'expandabletextview\'\n            version fullVersion\n\n            licenses {\n                license {\n                    name \'The Apache Software License, Version 2.0\'\n                    url \'http://www.apache.org/licenses/LICENSE-2.0.txt\'\n                    distribution \'repo\'\n                }\n            }\n            scm {\n                connection \'https://github.com/Blogcat/Android-ExpandableTextView.git\'\n                url \'https://github.com/Blogcat/Android-ExpandableTextView\'\n\n            }\n            developers {\n                developer {\n                    id \'cliffus\'\n                    name \'Cliff Ophalvens\'\n                    email \'cliff.ophalvens@gmail.com\'\n                }\n            }\n        }\n    }\n}\n\nbintray {\n    user = bintray_user\n    key = bintray_apikey\n}\n\ntask sourcesJar(type: Jar) {\n\n    pkg {\n        repo = \'maven\'\n        name = \'expandabletextview\'\n        userOrg = bintray_user\n        licenses = [\'Apache-2.0\']\n        websiteUrl = \'https://github.com/Blogcat/Android-ExpandableTextView\'\n}\n\ntask javadocJar(type: Jar, dependsOn: javadoc) {\n    classifier = \'javadoc\'\n    from javadoc.destinationDir\n}\n\nartifacts {\n    archives javadocJar\n    archives sourcesJar\n}\n\ninstall {\n    repositories.mavenInstaller {\n        pom.project {\n            name \'Android ExpandableTextview\'\n            description \'An expandable TextView for Android.\'\n            url \'https://github.com/Blogcat/Android-ExpandableTextView\'\n            inceptionYear \'2016\'\n\n            packaging \'aar\'\n            groupId \'at.blogc\'\n            artifactId \'expandabletextview\'\n            version fullVersion\n\n            licenses {\n                license {\n                    name \'The Apache Software License, Version 2.0\'\n                    url \'http://www.apache.org/licenses/LICENSE-2.0.txt\'\n                    distribution \'repo\'\n                }\n            }\n            scm {\n                connection \'https://github.com/Blogcat/Android-ExpandableTextView.git\'\n                url \'https://github.com/Blogcat/Android-ExpandableTextView\'\n\n            }\n            developers {\n                developer {\n                    id \'cliffus\'\n                    name \'Cliff Ophalvens\'\n                    email \'cliff.ophalvens@gmail.com\'\n                }\n            }\n        }\n    }\n}\n\nbintray {\n    user = "${bintray_user}"\n    key = "${bintray_apikey}"\n    configurations = [\'archives\']\n\n    dryRun = false\n\n    pkg {\n        repo = \'maven\'\n        name = \'android-expandabletextview\'\n        userOrg = "blogcat"\n        licenses = [\'Apache-2.0\']\n        websiteUrl = \'https://github.com/Blogcat/Android-ExpandableTextView\'\n        issueTrackerUrl = \'https://github.com/Blogcat/Android-ExpandableTextView/issues\'\n        vcsUrl = \'https://github.com/Blogcat/Android-ExpandableTextView.git\'\n        githubRepo = \'Blogcat/Android-ExpandableTextView\'\n        githubReleaseNotesFile = \'CHANGELOG.md\'\n\n        version {\n            name = fullVersion\n            released  = new Date()\n            vcsTag = fullVersion\n\n            gpg {\n                sign = true\n                passphrase = "${bintray_gpg_password}"\n            }\n        }\n    }\n}', 'message': 'remove gradle maven config\n', 'author_name': 'Cliff Ophalvens', 'lang': 'gradle'}