搜索Gradle插件

使用plugins DSL

plugins {
  id("co.com.bancolombia.cleanArchitecture") version "3.17.18"
}

使用 传统插件应用

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org.cn/m2/")
    }
  }
  dependencies {
    classpath("co.com.bancolombia.cleanArchitecture:scaffold-clean-architecture:3.17.18")
  }
}

apply(plugin = "co.com.bancolombia.cleanArchitecture")

使用plugins DSL

plugins {
  id "co.com.bancolombia.cleanArchitecture" version "3.17.18"
}

使用 传统插件应用

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org.cn/m2/"
    }
  }
  dependencies {
    classpath "co.com.bancolombia.cleanArchitecture:scaffold-clean-architecture:3.17.18"
  }
}

apply plugin: "co.com.bancolombia.cleanArchitecture"

了解如何应用到子项目