Skip to content

Commit 37b8639

Browse files
committed
add: afterEvaluate
1 parent 6d642ad commit 37b8639

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

build.gradle

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,18 @@ project.gradle.projectsEvaluated {
4242
}
4343
}
4444

45+
afterEvaluate {
46+
apply plugin: 'maven-publish'
47+
publishing {
48+
publications {
49+
maven(MavenPublication) {
50+
groupId project.group
51+
artifactId project.name
52+
version project.version
53+
from components.java
54+
}
55+
}
56+
}
57+
}
58+
4559
test { useJUnit() }

0 commit comments

Comments
 (0)