summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2022-11-05 11:07:59 +0100
committerJoel Klinghed <the_jk@spawned.biz>2022-11-05 11:07:59 +0100
commitb3467614c5917a1c24afa30ae9101984f09a0b0b (patch)
tree19d0561302f413c14387783547f808861a1f8112 /build.gradle
parent5a44fed4a055f94e9ff3d6717a1c1b1b84edc7d7 (diff)
Update gradle to 7.4 and replace plugin maven with maven-publish
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle23
1 files changed, 15 insertions, 8 deletions
diff --git a/build.gradle b/build.gradle
index 36e79e8..3d698e7 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,19 +1,26 @@
-apply plugin: 'groovy'
+plugins {
+ id 'groovy'
+ id 'maven-publish'
+}
dependencies {
- compile gradleApi()
- compile localGroovy()
+ implementation gradleApi()
+ implementation localGroovy()
}
-apply plugin: 'maven'
-
group = 'org.thejk'
version = '0.3.11'
-uploadArchives {
+publishing {
repositories {
- mavenDeployer {
- repository(url: uri('../repo'))
+ maven {
+ url = layout.projectDirectory.dir('repo')
+ }
+ }
+ publications {
+ maven(MavenPublication) {
+ artifactId = 'flycheck-android-experimental'
+ from components.java
}
}
}