forked from JoaquimLey/faboptions
-
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.
- Loading branch information
1 parent
67fc584
commit cc8e00a
Showing
29 changed files
with
177 additions
and
40 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
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
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 |
---|---|---|
@@ -0,0 +1,108 @@ | ||
/* | ||
* Copyright (c) Joaquim Ley 2016. All Rights Reserved. | ||
* <p/> | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* <p/> | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* <p/> | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
Properties properties = new Properties() | ||
properties.load(file('deploy.properties').newDataInputStream()) | ||
|
||
group = properties.getProperty('group') | ||
version = properties.getProperty('version') | ||
|
||
bintray { | ||
user = properties.getProperty('bintray.user') | ||
key = properties.getProperty('bintray.apikey') | ||
configurations = ['archives'] //When uploading configuration files | ||
pkg { | ||
repo = properties.getProperty('repo') | ||
name = properties.getProperty('name') | ||
userOrg = properties.getProperty('userOrg') | ||
desc = properties.getProperty('description') | ||
websiteUrl = properties.getProperty('websiteUrl') | ||
issueTrackerUrl = properties.getProperty('issueTrackerUrl') | ||
vcsUrl = properties.getProperty('vcsUrl') | ||
licenses = [properties.getProperty('license')] | ||
labels = properties.getProperty('labels') | ||
publicDownloadNumbers = properties.getProperty('publicDownloadNumbers') | ||
version { | ||
name = properties.getProperty('versionName') | ||
released = new Date() | ||
desc = properties.getProperty('versionDescription') | ||
vcsTag = properties.getProperty('vcsTag') | ||
gpg { | ||
//Determines whether to GPG sign the files. The default is false | ||
sign = properties.getProperty('gpgSign') | ||
passphrase = properties.getProperty("gpgPassphrase") | ||
//Optional. The passphrase for GPG signing' | ||
} | ||
} | ||
} | ||
} | ||
|
||
install { | ||
repositories.mavenInstaller { | ||
pom { | ||
project { | ||
packaging properties.getProperty('pomPackaging') | ||
name properties.getProperty('pomName') | ||
artifactId properties.getProperty('pomArtifactId') | ||
url properties.getProperty('websiteUrl') | ||
licenses { | ||
license { | ||
name properties.getProperty('pomLicenseName') | ||
url properties.getProperty('pomLicenseUrl') | ||
} | ||
} | ||
|
||
developers { | ||
developer { | ||
id properties.getProperty('pomDeveloperId') | ||
name properties.getProperty('pomDeveloperName') | ||
email properties.getProperty('pomDeveloperEmail') | ||
} | ||
} | ||
scm { | ||
connection properties.getProperty('vcsUrl') | ||
developerConnection properties.getProperty('vcsUrl') | ||
url properties.getProperty('websiteUrl') | ||
|
||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
task sourcesJar(type: Jar) { | ||
from android.sourceSets.main.java.srcDirs | ||
classifier = 'sources' | ||
} | ||
|
||
task javadoc(type: Javadoc) { | ||
source = android.sourceSets.main.java.srcDirs | ||
classpath += project.files(android.getBootClasspath().join(File.pathSeparator)) | ||
} | ||
|
||
task javadocJar(type: Jar, dependsOn: javadoc) { | ||
classifier = 'javadoc' | ||
from javadoc.destinationDir | ||
} | ||
|
||
artifacts { | ||
archives javadocJar | ||
archives sourcesJar | ||
} | ||
|
||
task findConventions << { | ||
println project.getConvention() | ||
} |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
bintray.user = JoaquimLey | ||
bintray.apikey = bbe66f1a7bb6f4a7111e49ba788391892e315624 | ||
|
||
bintray.oss.user=joaquimley | ||
bintray.gpg.password=James2k2k | ||
bintray.oss.password=Calimero2k2k | ||
|
||
group = com.github.joaquimley | ||
version = 0.0.5 | ||
|
||
repo = opensource | ||
name = faboptions | ||
userOrg = joaquimleyapps | ||
description = A multi-functional FAB component with customizable options | ||
|
||
websiteUrl = https://joaquimley.com/FabOptions | ||
vcsUrl = https://github.com/JoaquimLey/FabOptions.git | ||
issueTrackerUrl = https://github.com/JoaquimLey/FabOptions/issues | ||
license = Apache-2.0 | ||
labels = ['fab', 'component', 'ui'] | ||
publicDownloadNumbers = true | ||
|
||
|
||
versionName = 0.0.5 | ||
versionDescription = First public release | ||
vcsTag = 0.0.5 | ||
|
||
gpgSign = true | ||
gpgPassphrase = James2k2k | ||
|
||
pomPackaging = aar | ||
pomName = A multi-functional FAB component with customizable options | ||
pomArtifactId = faboptions | ||
|
||
pomDeveloperId = joaquimley | ||
pomDeveloperName = Joaquim Ley | ||
pomDeveloperEmail = [email protected] | ||
|
||
pomLicenseName = The Apache Software License, Version 2.0 | ||
pomLicenseUrl = http://www.apache.org/licenses/LICENSE-2.0.txt |
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
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 |
---|---|---|
|
@@ -14,4 +14,4 @@ | |
* limitations under the License. | ||
*/ | ||
|
||
include ':sample', ':library' | ||
include ':sample', ':faboptions' |