Skip to content

Commit

Permalink
Added maven publishing info
Browse files Browse the repository at this point in the history
  • Loading branch information
ssawchenko committed Sep 22, 2021
1 parent 203a84c commit e9d71ad
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions steamclog/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,25 @@ plugins {
// Note, do not apply sentry plugins here; must be done in application module
}

// Because the components are created only during the afterEvaluate phase, you must
// configure your publications using the afterEvaluate() lifecycle method.
afterEvaluate {
publishing {
publications {
// Creates a Maven publication called "release".
release(MavenPublication) {
// Applies the component for the release build variant.
from components.release

// You can then customize attributes of the publication as shown below.
groupId = 'com.steamclock.steamclog'
artifactId = 'release'
version = 'v2.0'
}
}
}
}

android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
Expand Down

0 comments on commit e9d71ad

Please sign in to comment.