-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
51 lines (41 loc) · 1.44 KB
/
build.gradle.kts
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
/*
* Copyright (c) 2022 Matthias Geisler (bitPogo) / All rights reserved.
*
* Use of this source code is governed by Apache v2.0
*/
import tech.antibytes.gradle.dependency.helper.addCustomRepositories
import tech.antibytes.gradle.dependency.helper.ensureKotlinVersion
import tech.antibytes.gradle.kfixture.config.publishing.FixturePublishingConfiguration
import tech.antibytes.gradle.kfixture.config.repositories.Repositories.pluginRepositories
import tech.antibytes.gradle.quality.api.CodeAnalysisConfiguration
import tech.antibytes.gradle.quality.api.StableApiConfiguration
plugins {
id("tech.antibytes.gradle.setup")
alias(antibytesCatalog.plugins.gradle.antibytes.dependencyHelper)
alias(antibytesCatalog.plugins.gradle.antibytes.publishing)
alias(antibytesCatalog.plugins.gradle.antibytes.quality)
}
val publishing = FixturePublishingConfiguration(project)
antibytesPublishing {
versioning.set(publishing.versioning)
repositories.set(publishing.repositories)
}
antibytesQuality {
codeAnalysis.set(CodeAnalysisConfiguration(project = project))
stableApi.set(StableApiConfiguration())
}
allprojects {
repositories {
mavenCentral()
google()
jcenter()
}
ensureKotlinVersion()
}
repositories {
addCustomRepositories(pluginRepositories)
}
tasks.named<Wrapper>("wrapper") {
gradleVersion = antibytesCatalog.versions.gradle.gradle.get()
distributionType = Wrapper.DistributionType.ALL
}