-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
60 lines (52 loc) · 1.73 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
plugins {
id 'java-gradle-plugin'
id 'org.jetbrains.kotlin.jvm' version '2.0.0'
id 'org.jetbrains.kotlin.plugin.serialization' version '2.0.0'
id 'maven-publish'
id "com.gradle.plugin-publish" version "1.2.1"
id "signing"
}
group 'com.inqbarna'
version '1.3'
repositories {
mavenCentral()
google()
}
kotlin {
jvmToolchain(17)
compilerOptions {
freeCompilerArgs.add("-Xopt-in=kotlin.RequiresOptIn")
languageVersion.set(KotlinVersion.KOTLIN_2_0)
}
}
dependencies {
// implementation "org.jetbrains.kotlin:kotlin-stdlib"
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.1"
compileOnly "com.android.tools.build:gradle-api:8.5.1"
implementation platform("software.amazon.awssdk:bom:2.17.152")
implementation "software.amazon.awssdk:secretsmanager"
implementation "com.google.guava:guava:33.2.1-jre"
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
}
signing {
useGpgCmd()
sign configurations.archives
}
gradlePlugin {
website = "https://github.com/InQBarna/aws_secret_signing_plugin"
vcsUrl = "https://github.com/InQBarna/aws_secret_signing_plugin"
plugins {
simplePlugin {
id = 'com.inqbarna.secretsigning'
implementationClass = 'com.inqbarna.secretsigning.SecretSigningPlugin'
displayName = "AWS Secret Signing Plugin"
description = "Get passwords from AWS Secret Manager to configure android signing release configuration"
tags.set(["android", "signing", "secret", "security", "aws"])
}
}
}
test {
useJUnitPlatform()
}