-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Enhance gradle structure (#1128)
* Add sub projects and handle gradle warnings * split dependencies, for plugins and versions * Fix dependencies Co-authored-by: Piotr Adamczyk <piotr.adamczyk@gogoapps.io> Co-authored-by: piotradamczyk5 <65554637+piotradamczyk5@users.noreply.github.com>
- Loading branch information
1 parent
11a542d
commit 835790e
Showing
9 changed files
with
201 additions
and
189 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
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,12 @@ | ||
object Plugins { | ||
|
||
const val PLUGIN_SHADOW_JAR = "com.github.johnrengelman.shadow" | ||
const val DETEKT_PLUGIN = "io.gitlab.arturbosch.detekt" | ||
const val JFROG_BINTRAY = "com.jfrog.bintray" | ||
const val MAVEN_PUBLISH = "maven-publish" | ||
const val BEN_MANES_PLUGIN = "com.github.ben-manes.versions" | ||
object Kotlin { | ||
const val PLUGIN_JVM = "jvm" | ||
const val PLUGIN_SERIALIZATION = "plugin.serialization" | ||
} | ||
} |
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,94 @@ | ||
object Versions { | ||
// https://github.com/bugsnag/bugsnag-java/releases | ||
const val BUGSNAG = "3.6.1" | ||
|
||
// https://github.com/3breadt/dd-plist/releases | ||
const val DD_PLIST = "1.23" | ||
|
||
// https://github.com/detekt/detekt | ||
const val DETEKT = "1.11.0" | ||
|
||
// https://github.com/bintray/gradle-bintray-plugin/releases | ||
const val BINTRAY = "1.8.5" | ||
|
||
// https://github.com/johnrengelman/shadow/releases | ||
const val SHADOW = "6.0.0" | ||
|
||
// https://github.com/linkedin/dex-test-parser/releases | ||
const val DEX_TEST_PARSER = "2.2.1" | ||
|
||
// match to Tools -> Kotlin -> Configure Kotlin Plugin Updates -> Update Channel: Stable | ||
const val KOTLIN = "1.4.0" | ||
|
||
// https://github.com/Kotlin/kotlinx.coroutines/releases | ||
const val KOTLIN_COROUTINES = "1.3.9" | ||
|
||
// https://github.com/remkop/picocli/releases | ||
const val PICOCLI = "4.4.0" | ||
|
||
// https://search.maven.org/search?q=a:google-api-services-toolresults%20g:com.google.apis | ||
const val GOOGLE_API_TOOLRESULTS = "v1beta3-rev20200803-1.30.10" | ||
|
||
// https://github.com/googleapis/google-auth-library-java/releases | ||
// NOTE: https://github.com/googleapis/google-oauth-java-client is End of Life and replaced by google-auth-library-java | ||
// https://github.com/googleapis/google-oauth-java-client/issues/251#issuecomment-504565533 | ||
const val GOOGLE_AUTH = "0.18.0" | ||
|
||
// https://search.maven.org/search?q=a:google-cloud-nio%20g:com.google.cloud | ||
const val GOOGLE_NIO = "0.114.0-alpha" | ||
|
||
// https://search.maven.org/search?q=a:google-cloud-storage%20g:com.google.cloud | ||
const val GOOGLE_STORAGE = "1.96.0" | ||
|
||
// https://github.com/google/gson/releases | ||
const val GSON = "2.8.6" | ||
|
||
// https://github.com/FasterXML/jackson-core/releases | ||
// https://github.com/FasterXML/jackson-dataformat-xml/releases | ||
const val JACKSON = "2.11.0" | ||
|
||
const val JUNIT = "4.13" | ||
|
||
// https://github.com/jhy/jsoup/releases | ||
const val JSOUP = "1.13.1" | ||
|
||
// https://github.com/ktorio/ktor/releases | ||
const val KTOR = "1.4.0" | ||
|
||
// https://github.com/qos-ch/logback/releases | ||
const val LOGBACK = "1.2.3" | ||
|
||
// https://github.com/square/okhttp/releases | ||
const val OKHTTP = "4.7.2" | ||
|
||
// https://github.com/stefanbirkner/system-rules/releases | ||
const val SYSTEM_RULES = "1.19.0" | ||
|
||
// https://github.com/google/truth/releases | ||
const val TRUTH = "1.0" | ||
|
||
// https://github.com/FasterXML/woodstox/releases | ||
const val WOODSTOX = "6.2.1" | ||
|
||
const val KOTLIN_LOGGING = "1.8.0.1" | ||
|
||
// https://github.com/mockk/mockk | ||
const val MOCKK = "1.10.0" | ||
|
||
// https://commons.apache.org/proper/commons-text/ | ||
const val COMMON_TEXT = "1.8" | ||
|
||
// https://github.com/fusesource/jansi/releases | ||
const val JANSI = "1.18" | ||
|
||
// https://github.com/ben-manes/gradle-versions-plugin/releases | ||
const val BEN_MANES = "0.28.0" | ||
|
||
// https://github.com/Guardsquare/proguard | ||
const val PROGUARD = "7.0.0" | ||
|
||
// ============== flank-scripts ============== | ||
const val KOTLINX_SERIALIZATION = "1.0.0-RC" | ||
const val FUEL = "2.2.3" | ||
const val CLIKT = "2.8.0" | ||
} |
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,6 +1,6 @@ | ||
plugins { | ||
application | ||
kotlin("jvm") version "1.3.72" | ||
kotlin(Plugins.Kotlin.PLUGIN_JVM) | ||
} | ||
|
||
group = "ftl.sample" | ||
|
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.