build.gradle.kts 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /*
  2. * Copyright (c) Milan Jurkulák 2023.
  3. * Contact:
  4. * e: mimoccc@gmail.com
  5. * e: mj@mjdev.org
  6. * w: https://mjdev.org
  7. */
  8. @Suppress("DEPRECATION", "JcenterRepositoryObsolete")
  9. repositories {
  10. jcenter()
  11. google()
  12. mavenCentral()
  13. gradlePluginPortal()
  14. maven(url = "https://www.jitpack.io")
  15. maven(url = "https://plugins.gradle.org/m2/")
  16. maven(url = "https://oss.sonatype.org/content/repositories/public")
  17. }
  18. plugins {
  19. `kotlin-dsl`
  20. }
  21. dependencies {
  22. implementation(gradleApi())
  23. implementation(gradleKotlinDsl())
  24. // implementation(kotlin("reflect", "1.8.21"))
  25. implementation("com.android.tools.build:gradle-api:8.2.2")
  26. implementation("com.android.tools.build:gradle:8.2.2")
  27. implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.21")
  28. implementation("org.jetbrains.kotlin:kotlin-reflect:1.9.22")
  29. implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.22")
  30. implementation("io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.4")
  31. implementation("io.gitlab.arturbosch.detekt:detekt-formatting:1.23.4")
  32. implementation("com.squareup:javapoet:1.13.0")
  33. implementation("com.squareup:kotlinpoet:1.13.2")
  34. implementation("org.jetbrains.dokka:dokka-android-gradle-plugin:0.9.18")
  35. implementation("org.jetbrains.dokka:gfm-plugin:1.8.10")
  36. implementation("org.jetbrains.dokka:android-documentation-plugin:1.9.10")
  37. implementation("org.eclipse.jgit:org.eclipse.jgit:4.8.0.201706111038-r")
  38. implementation("com.github.ben-manes:gradle-versions-plugin:0.42.0")
  39. implementation("com.squareup.okhttp3:okhttp:5.0.0-alpha.12")
  40. implementation("com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.12")
  41. implementation("com.squareup.moshi:moshi-kotlin:1.12.0")
  42. implementation ("org.mockito.kotlin:mockito-kotlin:5.2.1")
  43. implementation ("junit:junit:4.13.2")
  44. // implementation("com.bmuschko:gradle-docker-plugin:9.4.0")
  45. // implementation("com.soywiz.korlibs.korim:korim-jvm:4.0.2")
  46. // implementation("com.github.mukeshsolanki:photofilter:2.0.2")
  47. // implementation("gradle.plugin.com.autonomousapps:dependency-analysis-gradle-plugin:0.10.0")
  48. // implementation("com.google.apis:google-api-services-androidpublisher:v3-rev41-1.25.0")
  49. // implementation("org.ini4j:ini4j:0.5.4")
  50. // implementation("org.jsoup:jsoup:1.15.4")
  51. // implementation("com.google.code.gson:gson:2.10.1")
  52. // implementation("net.lingala.zip4j:zip4j:1.2.4")
  53. }
  54. gradlePlugin {
  55. plugins {
  56. register("AppPlugin") {
  57. id = "AppPlugin"
  58. displayName = "AppPlugin"
  59. description = "Common application plugin to handle all stuffs needed."
  60. implementationClass = "org.mjdev.gradle.plugin.AppPlugin"
  61. }
  62. register("LibPlugin") {
  63. id = "LibPlugin"
  64. displayName = "LibPlugin"
  65. description = "Common library plugin to handle all stuffs needed."
  66. implementationClass = "org.mjdev.gradle.plugin.LibPlugin"
  67. }
  68. }
  69. }