-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from infinum/feature/explicit-mode
Release of 1.2.2
- Loading branch information
Showing
109 changed files
with
1,795 additions
and
1,530 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,4 @@ | |
/ui-no-op/build/ | ||
/lint/build/ | ||
/.idea/codeStyles/ | ||
/ui/jacoco.exec |
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 |
---|---|---|
@@ -1,47 +1,51 @@ | ||
apply plugin: 'maven-publish' | ||
apply plugin: "com.jfrog.bintray" | ||
apply plugin: 'com.github.dcendents.android-maven' | ||
|
||
group = collar.group | ||
version = collar.version | ||
|
||
task sourcesJar(type: Jar, dependsOn: assemble) { | ||
archiveClassifier.set('sources') | ||
from sourceSets.main.allSource | ||
} | ||
|
||
task javadocsJar(type: Jar, dependsOn: rootProject.dokka) { | ||
archiveClassifier.set('javadoc') | ||
from rootProject.dokka.outputDirectory | ||
task javadocsJar(type: Jar, dependsOn: "dokkaJavadoc") { | ||
archiveClassifier.set("javadoc") | ||
from dokkaJavadoc.outputDirectory | ||
} | ||
|
||
publishing { | ||
publications { | ||
infinum(MavenPublication) { | ||
groupId = group | ||
artifactId = 'collar-annotations' | ||
afterEvaluate { | ||
publishing { | ||
publications { | ||
infinum(MavenPublication) { | ||
from components.java | ||
|
||
groupId = collar.group | ||
artifactId = 'collar-annotations' | ||
version = collar.version | ||
|
||
artifact javadocsJar | ||
artifact sourcesJar | ||
|
||
artifact sourcesJar | ||
artifact javadocsJar | ||
pom { | ||
name = 'Collar Annotations' | ||
description = 'Gradle plugin which provides single point for analytics collection.' | ||
url = 'https://github.com/infinum/android-collar' | ||
licenses { | ||
license { | ||
name = 'The Apache License, Version 2.0' | ||
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt' | ||
pom { | ||
name = "Collar Annotations" | ||
description = "Gradle plugin which provides single point for analytics collection." | ||
url = "https://github.com/infinum/android-collar" | ||
licenses { | ||
license { | ||
name = "Apache License 2.0" | ||
url = "https://github.com/infinum/android-collar/blob/master/LICENSE" | ||
} | ||
} | ||
developers { | ||
developer { | ||
id = "knobtviker" | ||
name = "Bojan Komljenović" | ||
email = "[email protected]" | ||
} | ||
} | ||
scm { | ||
connection = "https://github.com/infinum/android-collar.git" | ||
developerConnection = "https://github.com/infinum/android-collar.git" | ||
url = "https://github.com/infinum/android-collar" | ||
} | ||
} | ||
} | ||
pom.withXml { | ||
def root = asNode() | ||
def dependenciesNode = root.appendNode('dependencies') | ||
configurations.implementation.allDependencies.each { | ||
def dependencyNode = dependenciesNode.appendNode('dependency') | ||
dependencyNode.appendNode('groupId', it.group) | ||
dependencyNode.appendNode('artifactId', it.name) | ||
dependencyNode.appendNode('version', it.version) | ||
} | ||
} | ||
} | ||
|
@@ -50,7 +54,7 @@ publishing { | |
|
||
bintray { | ||
Properties properties = new Properties() | ||
def bintrayProperties = rootProject.file('bintray.properties') | ||
def bintrayProperties = rootProject.file("bintray.properties") | ||
if (bintrayProperties.exists()) { | ||
properties.load(new FileInputStream(bintrayProperties)) | ||
} else { | ||
|
@@ -61,15 +65,17 @@ bintray { | |
user = properties.getProperty("bintray.user") | ||
key = properties.getProperty("bintray.apikey") | ||
|
||
publications = ["infinum"] | ||
|
||
pkg { | ||
repo = 'android' | ||
name = 'collar-annotations' | ||
userOrg = 'infinum' | ||
desc = 'Collar Annotations package' | ||
websiteUrl = 'https://github.com/infinum/android-collar' | ||
issueTrackerUrl = 'https://github.com/infinum/android-collar/issues' | ||
vcsUrl = 'https://github.com/infinum/android-collar.git' | ||
licenses = ['Apache-2.0'] | ||
repo = "android" | ||
name = "collar-annotations" | ||
userOrg = "infinum" | ||
desc = "Collar Annotations package" | ||
websiteUrl = "https://github.com/infinum/android-collar" | ||
issueTrackerUrl = "https://github.com/infinum/android-collar/issues" | ||
vcsUrl = "https://github.com/infinum/android-collar.git" | ||
licenses = ["Apache-2.0"] | ||
version { | ||
name = "${collar.version}" | ||
released = new Date() | ||
|
@@ -79,41 +85,4 @@ bintray { | |
override = true | ||
publicDownloadNumbers = true | ||
} | ||
|
||
configurations = ['archives'] | ||
} | ||
|
||
install { | ||
repositories.mavenInstaller { | ||
pom { | ||
project { | ||
packaging 'jar' | ||
groupId 'co.infinum.collar' | ||
artifactId 'collar-annotations' | ||
|
||
name 'collar-annotations' | ||
description 'Collar Annotations' | ||
url 'https://github.com/infinum/android-collar' | ||
|
||
licenses { | ||
license { | ||
name 'Apache' | ||
url 'https://github.com/infinum/android-collar/LICENSE' | ||
} | ||
} | ||
developers { | ||
developer { | ||
id 'knobtviker' | ||
name 'Bojan Komljenović' | ||
email '[email protected]' | ||
} | ||
} | ||
scm { | ||
connection 'https://github.com/infinum/android-collar.git' | ||
developerConnection 'https://github.com/infinum/android-collar.git' | ||
url 'https://github.com/infinum/android-collar' | ||
} | ||
} | ||
} | ||
} | ||
} |
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
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
Oops, something went wrong.