Skip to content

Commit

Permalink
Build.gradle changed
Browse files Browse the repository at this point in the history
  • Loading branch information
thirdegg committed Sep 8, 2021
1 parent cdfb741 commit d18c23f
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'maven-publish'

android {
Expand All @@ -18,14 +19,16 @@ dependencies {
lintPublish project(':checks')
}

publishing {
publications {
mavenJava(MavenPublication) {
groupId = 'com.github.thirdegg'
artifactId = 'lint-rules'
version = '0.1.0'

from components.java
afterEvaluate {
publishing {
publications {
// Creates a Maven publication called "release".
release(MavenPublication) {
from components.release
groupId = 'com.github.thirdegg'
artifactId = 'lint-rules'
version = '0.1.0'
}
}
}
}

0 comments on commit d18c23f

Please sign in to comment.