plugins {
  id("groovy-gradle-plugin")
}

repositories {
  mavenCentral()
  gradlePluginPortal()
}

dependencies {
  implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}")
  implementation("org.web3j:codegen:4.12.0")
}

gradlePlugin {
  plugins {
    create("Web3jCodegenPlugin") {
      id = "linea.web3j-codegen"
      implementationClass = "Web3jCodegenPlugin"
    }
  }
}
