Skip to content

Commit

Permalink
final commit
Browse files Browse the repository at this point in the history
  • Loading branch information
SubhadeepSantra1998 committed Sep 22, 2023
1 parent df79ff2 commit a7c8d35
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions mirror/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,29 +43,32 @@ dependencies {
implementation 'androidx.compose.material3:material3'
}

afterEvaluate {
//afterEvaluate {
// publishing {
// publications {
// release(MavenPublication) {
// from components.release
//
// groupId = 'com.github.SubhadeepSantra1998'
// artifactId = 'Mirror-Effect'
// version = '1.0'
// artifactId = 'mirror'
// version = '2.0'
//
// afterEvaluate {
// from components.release
// }
// }
// }
// }
publishing {
publications {
release(MavenPublication) {
groupId = 'com.github.SubhadeepSantra1998'
artifactId = 'Mirror-Effect'
version = '1.8'
//}


// for testing maven locally
afterEvaluate {
android.libraryVariants.each{ varient ->
publishing.publications.create(varient .name, MavenPublication){
from components.findByName(varient .name)

afterEvaluate {
from components.release
}
}
groupId = 'com.github.SubhadeepSantra1998'
artifactId = 'mirror'
version = '2.0'
}
}
}

0 comments on commit a7c8d35

Please sign in to comment.