Skip to content

Commit

Permalink
Update group id to com.github.flank (#720)
Browse files Browse the repository at this point in the history
* Update group id to com.github.flank

* Update POM
  • Loading branch information
bootstraponline committed Apr 19, 2020
1 parent 75c5f76 commit b911f4c
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 9 deletions.
1 change: 1 addition & 0 deletions release_notes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## next (unreleased)
- [#720](https://github.com/Flank/flank/pull/720) Update group id from `flank` to `com.github.flank` ([bootstraponline](https://github.com/bootstraponline))
- [#714](https://github.com/Flank/flank/pull/714) Add support for num-uniform-shards option. ([jan-gogo](https://github.com/jan-gogo))
- [#712](https://github.com/Flank/flank/pull/712) Add keep file path for ios. ([pawelpasterz](https://github.com/pawelpasterz))
- [#711](https://github.com/Flank/flank/pull/711) Remove hardcoded height. ([pawelpasterz](https://github.com/pawelpasterz))
Expand Down
47 changes: 39 additions & 8 deletions test_runner/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,15 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import java.util.Date
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar

group = "test_runner"
version = "SNAPSHOT"

plugins {
application
jacoco
kotlin("jvm") version Versions.KOTLIN

id("io.gitlab.arturbosch.detekt") version Versions.DETEKT
id("com.jfrog.bintray") version "1.8.4"
id("com.jfrog.bintray") version Versions.BINTRAY
id("maven-publish")
id("com.github.johnrengelman.shadow") version "5.2.0"
id("com.github.johnrengelman.shadow") version Versions.SHADOW
}

val artifactID = "flank"
Expand Down Expand Up @@ -54,14 +51,48 @@ bintray {
})
}

java {
withJavadocJar()
withSourcesJar()
}

publishing {
publications {
register("mavenJava", MavenPublication::class) {
groupId = "flank"
artifactId = "flank"
create<MavenPublication>("mavenJava") {
groupId = "com.github.flank"
artifactId = artifactID
version = System.getenv("MVN_VERSION")

artifact(shadowJar)
artifact(tasks["javadocJar"])
artifact(tasks["sourcesJar"])

pom {
name.set("Flank")
description.set("Massively parallel Android and iOS test runner for Firebase Test Lab")
url.set("https://github.com/flank/flank")

licenses {
license {
name.set("The Apache License, Version 2.0")
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
}
}

developers {
developer {
id.set("bootstraponline")
name.set("bootstrap online")
email.set("[email protected]")
}
}

scm {
connection.set("scm:git:git://github.com/flank/flank.git")
developerConnection.set("scm:git:ssh://github.com:flank/flank.git")
url.set("https://github.com/flank/flank")
}
}

pom.withXml {
// Remove deps since we're publishing a fat jar
Expand Down
8 changes: 7 additions & 1 deletion test_runner/buildSrc/src/main/kotlin/Deps.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,17 @@ object Versions {
// https://github.com/arturbosch/detekt/releases
const val DETEKT = "1.1.0"

// https://github.com/bintray/gradle-bintray-plugin/releases
const val BINTRAY = "1.8.5"

// https://github.com/johnrengelman/shadow/releases
const val SHADOW = "5.2.0"

// https://github.com/linkedin/dex-test-parser/releases
const val DEX_TEST_PARSER = "2.1.1"

// match to Tools -> Kotlin -> Configure Kotlin Plugin Updates -> Update Channel: Stable
const val KOTLIN = "1.3.71"
const val KOTLIN = "1.3.72"

// https://github.com/Kotlin/kotlinx.coroutines/releases
const val KOTLIN_COROUTINES = "1.3.2"
Expand Down
2 changes: 2 additions & 0 deletions test_runner/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
rootProject.name = "flank"

include(":test_api")
project(":test_api").projectDir = File(rootProject.projectDir, "../firebase_apis/test_api")

0 comments on commit b911f4c

Please sign in to comment.