diff --git a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle index 6f4ca75..0522380 100644 --- a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle +++ b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle @@ -69,15 +69,15 @@ android { } {%- endif %} - buildTypes { - debug { - } - release { - {% if args.sign -%} - signingConfig signingConfigs.release - {%- endif %} - } - } +// buildTypes { +// debug { +// } +// release { +// {% if args.sign -%} +// signingConfig signingConfigs.release +// {%- endif %} +// } +// } sourceSets { main { @@ -116,56 +116,56 @@ subprojects { // } //} -afterEvaluate { - publishing { - publications { - release(MavenPublication) { - groupId 'io.lbry' - artifactId 'lbrysdk64' - version '{{ args.version }}' +//afterEvaluate { +// publishing { +// publications { +// release(MavenPublication) { +// groupId 'io.lbry' +// artifactId 'lbrysdk64' +// version '{{ args.version }}' +// +// from components.release +// +// pom { +// name = 'LBRY SDK for Android' +// description = 'The LBRY SDK packaged as an Android AAR' +// url = 'https://github.com/lbryio/lbry-android-sdk' +// licenses { +// license { +// name = 'MIT License' +// url = 'https://raw.githubusercontent.com/lbryio/lbry-android-sdk/master/LICENSE' +// } +// } +// developers { +// developer { +// id = 'akinwale' +// name = 'Akinwale Ariwodola' +// email = 'akinwale@lbry.com' +// } +// } +// +// scm { +// url = 'https://github.com/lbryio/lbry-android-sdk' +// connection = 'scm:git:github.com/lbryio/lbry-android-sdk.git' +// developerConnection = 'scm:git:ssh://github.com/lbryio/lbry-android-sdk.git' +// } +// } +// } +// } +// } +//} - from components.release - - pom { - name = 'LBRY SDK for Android' - description = 'The LBRY SDK packaged as an Android AAR' - url = 'https://github.com/lbryio/lbry-android-sdk' - licenses { - license { - name = 'MIT License' - url = 'https://raw.githubusercontent.com/lbryio/lbry-android-sdk/master/LICENSE' - } - } - developers { - developer { - id = 'akinwale' - name = 'Akinwale Ariwodola' - email = 'akinwale@lbry.com' - } - } - - scm { - url = 'https://github.com/lbryio/lbry-android-sdk' - connection = 'scm:git:github.com/lbryio/lbry-android-sdk.git' - developerConnection = 'scm:git:ssh://github.com/lbryio/lbry-android-sdk.git' - } - } - } - } - } -} - -signing { - sign publishing.publications -} +//signing { +// sign publishing.publications +//} dependencies { {%- for aar in aars %} - compile(name: '{{ aar }}', ext: 'aar') + implementation (name: '{{ aar }}', ext: 'aar') {%- endfor -%} {%- if args.depends -%} {%- for depend in args.depends %} - compile '{{ depend }}' + implementation '{{ depend }}' {%- endfor %} {%- endif %} }