License Gradle Plugin

后端 未结 1 579
隐瞒了意图╮
隐瞒了意图╮ 2021-01-21 16:39

How can we search, skip and write for required header(License) in .groovy, .java, .jsp, .txt files which are exist in src directory using gradle script.

How can we insta

相关标签:
1条回答
  • 2021-01-21 17:05

    You mean this license plugin?

    The instructions seem pretty clear (copied here from the link above):

    In your build.gradle file add:

    buildscript {
        repositories {
            mavenCentral()
        }
    
        dependencies {
            classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.5.0'
        }
    }
    
    apply plugin: 'license'
    
    0 讨论(0)
提交回复
热议问题