forked from magnusja/libaums
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor bintray upload to upload all modules
- Loading branch information
Showing
6 changed files
with
59 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,32 @@ buildscript { | |
} | ||
} | ||
|
||
ext { | ||
bintrayRepo = 'maven' | ||
bintrayName = 'libaums' | ||
|
||
publishedGroupId = 'com.github.mjdev' | ||
libraryName = 'libaums' | ||
|
||
// artifact comes from module | ||
//artifact = 'libaums' | ||
|
||
libraryDescription = 'Android USB mass storage library with FAT32 support.' | ||
|
||
siteUrl = 'https://github.com/mjdev/libaums' | ||
gitUrl = 'https://github.com/mjdev/libaums.git' | ||
|
||
libraryVersion = '0.5.0' | ||
|
||
developerId = 'mjdev' | ||
developerName = 'mjahnen' | ||
developerEmail = '[email protected]' | ||
|
||
licenseName = 'The Apache Software License, Version 2.0' | ||
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt' | ||
allLicenses = ["Apache-2.0"] | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
jcenter() | ||
|
@@ -23,4 +49,4 @@ allprojects { | |
|
||
task clean(type: Delete) { | ||
delete rootProject.buildDir | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,12 @@ | ||
apply plugin: 'com.android.library' | ||
|
||
configurations { | ||
javadocDeps | ||
} | ||
|
||
ext { | ||
bintrayRepo = 'maven' | ||
bintrayName = 'libaums' | ||
|
||
publishedGroupId = 'com.github.mjdev' | ||
libraryName = 'libaums' | ||
artifact = 'libaums' | ||
} | ||
|
||
libraryDescription = 'Android USB mass storage library with FAT32 support.' | ||
|
||
siteUrl = 'https://github.com/mjdev/libaums' | ||
gitUrl = 'https://github.com/mjdev/libaums.git' | ||
|
||
libraryVersion = '0.5.0' | ||
|
||
developerId = 'mjdev' | ||
developerName = 'mjahnen' | ||
developerEmail = '[email protected]' | ||
|
||
licenseName = 'The Apache Software License, Version 2.0' | ||
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt' | ||
allLicenses = ["Apache-2.0"] | ||
configurations { | ||
javadocDeps | ||
} | ||
|
||
android { | ||
|
@@ -56,7 +37,7 @@ dependencies { | |
javadocDeps 'com.android.support:support-annotations:25.1.0' | ||
} | ||
|
||
if("$System.env.UPLOAD_BINTRAY".equalsIgnoreCase("1")) { | ||
apply from: 'install.gradle' | ||
apply from: 'bintray.gradle' | ||
} | ||
task bintray { | ||
apply from: '../install.gradle' | ||
apply from: '../bintray.gradle' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters