build.gradle.kts 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. `java-gradle-plugin`
  21. // id("org.jetbrains.dokka") version "1.8.10" apply false
  22. // id("io.gitlab.arturbosch.detekt")
  23. // id("com.github.ben-manes.versions")
  24. // id("com.bmuschko.docker-remote-api")
  25. }
  26. dependencies {
  27. implementation(gradleApi())
  28. implementation(gradleKotlinDsl())
  29. implementation("com.android.tools.build:gradle-api:8.2.0")
  30. implementation("com.android.tools.build:gradle:8.2.0")
  31. implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0")
  32. implementation("com.squareup:javapoet:1.13.0")
  33. // implementation("com.bmuschko:gradle-docker-plugin:9.4.0")
  34. // implementation("org.jetbrains.dokka:dokka-android-gradle-plugin:0.9.18")
  35. // implementation(kotlin("reflect", "1.8.21"))
  36. // implementation("com.soywiz.korlibs.korim:korim-jvm:4.0.2")
  37. // implementation("com.github.mukeshsolanki:photofilter:2.0.2")
  38. // implementation("gradle.plugin.com.autonomousapps:dependency-analysis-gradle-plugin:0.10.0")
  39. // implementation("com.google.apis:google-api-services-androidpublisher:v3-rev41-1.25.0")
  40. // implementation("com.squareup:javapoet:1.13.0")
  41. // implementation("com.squareup:kotlinpoet:1.13.2")
  42. // implementation("com.squareup.okhttp3:okhttp:5.0.0-alpha.2")
  43. // implementation("com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.2")
  44. // implementation("org.ini4j:ini4j:0.5.4")
  45. // implementation("org.jsoup:jsoup:1.15.4")
  46. // implementation("com.google.code.gson:gson:2.10.1")
  47. // implementation("net.lingala.zip4j:zip4j:1.2.4")
  48. // implementation("org.eclipse.jgit:org.eclipse.jgit:4.8.0.201706111038-r")
  49. }
  50. gradlePlugin {
  51. plugins {
  52. register("MainAppPlugin") {
  53. id = "MainAppPlugin"
  54. displayName = "MainAppPlugin"
  55. description = "Common app plugin to handle all stuffs needed."
  56. implementationClass = "org.mjdev.gradle.plugin.MainAppPlugin"
  57. }
  58. // register("DependencyUpdatePlugin") {
  59. // id = "DependencyUpdatePlugin"
  60. // displayName = "DependencyUpdatePlugin"
  61. // description = "Dependency update plugin"
  62. // implementationClass = "org.mjdev.gradle.plugin.DependencyUpdatePlugin"
  63. // }
  64. // register("AndroidCoreLibraryPlugin") {
  65. // id = "AndroidCoreLibraryPlugin"
  66. // implementationClass = "commons.AndroidCoreLibraryPlugin"
  67. // }
  68. }
  69. }