Skip to content

Commit f07c181

Browse files
committed
Fix maven publish
1 parent dfd725c commit f07c181

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed

.idea/gradle.xml

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build.gradle

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,20 @@ plugins {
44
id 'maven-publish'
55
}
66

7-
group = 'com.github.Omega-R'
7+
publishing {
8+
publications {
9+
release(MavenPublication) {
10+
groupId 'com.github.Omega-R'
11+
artifactId = 'OmegaTestConnect'
12+
version project.hasProperty('version') ? project.version : gradle.gitHash()
13+
afterEvaluate {
14+
from components.release
15+
}
16+
}
17+
}
18+
}
19+
20+
821

922
android {
1023
namespace 'com.omegar.libs.testconnect'

0 commit comments

Comments
 (0)