@@ -9,9 +9,10 @@ buildscript {
99plugins {
1010 kotlin(" jvm" ) version " 1.5.31"
1111 id(" java-gradle-plugin" )
12- id(" com.github.ben-manes.versions" ) version " 0.39.0"
13- id(" io.gitlab.arturbosch.detekt" ) version " 1.18.1"
14- id(" com.gradle.plugin-publish" ) version " 0.18.0"
12+ id(" maven-publish" )
13+ id(" com.github.ben-manes.versions" ) version " 0.42.0"
14+ id(" io.gitlab.arturbosch.detekt" ) version " 1.20.0"
15+ id(" com.gradle.plugin-publish" ) version " 1.0.0-rc-1"
1516}
1617
1718group = " com.cherryperry.gfe"
@@ -34,16 +35,19 @@ detekt {
3435 baseline = file(" detekt-baseline.xml" )
3536}
3637
38+ gradlePlugin {
39+ plugins.register(" gradleFileEncryptPlugin" ) {
40+ id = " com.cherryperry.gradle-file-encrypt"
41+ displayName = " Gradle file encrypt"
42+ description = " Simply encrypt your sensitive data in repository with password"
43+ implementationClass = " com.cherryperry.gfe.FileEncryptPlugin"
44+ }
45+ }
46+
3747pluginBundle {
3848 website = " https://github.com/CherryPerry/GradleFileEncrypt"
3949 vcsUrl = " https://github.com/CherryPerry/GradleFileEncrypt.git"
40- description = " Simply encrypt your sensitive data in repository with password"
4150 tags = listOf (" encryption" , " cryptography" )
42-
43- plugins.create(" gradleFileEncryptPlugin" ) {
44- id = " com.cherryperry.gradle-file-encrypt"
45- displayName = " Gradle file encrypt"
46- }
4751}
4852
4953repositories {
@@ -55,5 +59,5 @@ dependencies {
5559 compileOnly(gradleApi())
5660 testImplementation(" junit" , " junit" , " 4.13.2" )
5761 testImplementation(gradleTestKit())
58- detektPlugins(" io.gitlab.arturbosch.detekt" , " detekt-formatting" , " 1.18.1 " )
62+ detektPlugins(" io.gitlab.arturbosch.detekt" , " detekt-formatting" , " 1.20.0 " )
5963}
0 commit comments