@@ -20,13 +20,32 @@ afterEvaluate {
20
20
tasks.withType<KotlinCompile >().configureEach {
21
21
kotlinOptions {
22
22
jvmTarget = JavaVersion .VERSION_11 .toString()
23
- freeCompilerArgs = freeCompilerArgs + " -Xsam-conversions=class" + " -opt-in=kotlin.RequiresOptIn"
23
+ freeCompilerArgs = freeCompilerArgs + listOf (
24
+ " -Xsam-conversions=class" ,
25
+ " -opt-in=kotlin.RequiresOptIn" ,
26
+ )
24
27
}
25
28
}
26
29
}
27
30
28
31
gradlePlugin {
29
32
plugins {
33
+ register(" android-application" ) {
34
+ id = " com.github.android-password-store.android-application"
35
+ implementationClass = " app.passwordstore.gradle.ApplicationPlugin"
36
+ }
37
+ register(" android-library" ) {
38
+ id = " com.github.android-password-store.android-library"
39
+ implementationClass = " app.passwordstore.gradle.LibraryPlugin"
40
+ }
41
+ register(" crowdin" ) {
42
+ id = " com.github.android-password-store.crowdin-plugin"
43
+ implementationClass = " app.passwordstore.gradle.crowdin.CrowdinDownloadPlugin"
44
+ }
45
+ register(" git-hooks" ) {
46
+ id = " com.github.android-password-store.git-hooks"
47
+ implementationClass = " app.passwordstore.gradle.GitHooksPlugin"
48
+ }
30
49
register(" kotlin-android" ) {
31
50
id = " com.github.android-password-store.kotlin-android"
32
51
implementationClass = " app.passwordstore.gradle.KotlinAndroidPlugin"
@@ -47,6 +66,26 @@ gradlePlugin {
47
66
id = " com.github.android-password-store.ktfmt"
48
67
implementationClass = " app.passwordstore.gradle.KtfmtPlugin"
49
68
}
69
+ register(" published-android-library" ) {
70
+ id = " com.github.android-password-store.published-android-library"
71
+ implementationClass = " app.passwordstore.gradle.PublishedAndroidLibraryPlugin"
72
+ }
73
+ register(" psl" ) {
74
+ id = " com.github.android-password-store.psl-plugin"
75
+ implementationClass = " app.passwordstore.gradle.psl.PublicSuffixListPlugin"
76
+ }
77
+ register(" rename-artifacts" ) {
78
+ id = " com.github.android-password-store.rename-artifacts"
79
+ implementationClass = " app.passwordstore.gradle.RenameArtifactsPlugin"
80
+ }
81
+ register(" sentry" ) {
82
+ id = " com.github.android-password-store.sentry"
83
+ implementationClass = " app.passwordstore.gradle.SentryPlugin"
84
+ }
85
+ register(" versioning" ) {
86
+ id = " com.github.android-password-store.versioning-plugin"
87
+ implementationClass = " app.passwordstore.gradle.versioning.VersioningPlugin"
88
+ }
50
89
register(" versions" ) {
51
90
id = " com.github.android-password-store.versions"
52
91
implementationClass = " app.passwordstore.gradle.DependencyUpdatesPlugin"
@@ -58,9 +97,15 @@ dependencies {
58
97
implementation(libs.build.agp)
59
98
implementation(libs.build.detekt)
60
99
implementation(libs.build.diffutils)
100
+ implementation(libs.build.download)
61
101
implementation(libs.build.kotlin)
62
102
implementation(libs.build.ktfmt)
103
+ implementation(libs.build.mavenpublish)
104
+ implementation(libs.build.metalava)
105
+ implementation(libs.build.okhttp)
63
106
implementation(libs.build.r8)
107
+ implementation(libs.build.semver)
108
+ implementation(libs.build.sentry)
64
109
implementation(libs.build.vcu)
65
110
implementation(libs.build.versions)
66
111
implementation(libs.kotlin.coroutines.core)
0 commit comments