Upgrade p4a clean #21

Open
jessopb wants to merge 43 commits from upgrade_p4a_clean into master
Showing only changes of commit 0335719321 - Show all commits

View file

@ -69,15 +69,15 @@ android {
} }
{%- endif %} {%- endif %}
buildTypes { // buildTypes {
debug { // debug {
} // }
release { // release {
{% if args.sign -%} // {% if args.sign -%}
signingConfig signingConfigs.release // signingConfig signingConfigs.release
{%- endif %} // {%- endif %}
} // }
} // }
sourceSets { sourceSets {
main { main {
@ -116,56 +116,56 @@ subprojects {
// } // }
//} //}
afterEvaluate { //afterEvaluate {
publishing { // publishing {
publications { // publications {
release(MavenPublication) { // release(MavenPublication) {
groupId 'io.lbry' // groupId 'io.lbry'
artifactId 'lbrysdk64' // artifactId 'lbrysdk64'
version '{{ args.version }}' // 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 //signing {
// sign publishing.publications
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
}
dependencies { dependencies {
{%- for aar in aars %} {%- for aar in aars %}
compile(name: '{{ aar }}', ext: 'aar') implementation (name: '{{ aar }}', ext: 'aar')
{%- endfor -%} {%- endfor -%}
{%- if args.depends -%} {%- if args.depends -%}
{%- for depend in args.depends %} {%- for depend in args.depends %}
compile '{{ depend }}' implementation '{{ depend }}'
{%- endfor %} {%- endfor %}
{%- endif %} {%- endif %}
} }