Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- productFlavors {
- flavors_release {
- resValue("string", "url", "http://....")
- }
- flavors_dev {
- resValue("string", "url", "http://...")
- }
- }
- uploadArchives {
- repositories.mavenDeployer {
- repository(url: 'http://127.0.0.1:8081/nexus/content/repositories/test/') {
- authentication(userName: "admin",
- password: "admin123")
- }
- pom.project {
- name 'mylibrary'
- packaging 'aar'
- description ''
- url 'http://127.0.0.1:8081/nexus/content/repositories/test/'
- groupId ""
- artifactId ''
- version ""
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement