Commit d50011e 1 parent 1892bf7 commit d50011e Copy full SHA for d50011e
File tree 1 file changed +19
-1
lines changed
1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -21,4 +21,22 @@ elide {
21
21
22
22
group = " dev.elide.embedded"
23
23
24
- // Nothing yet.
24
+ val publicHeaders: Configuration by configurations.creating {
25
+ isCanBeConsumed = true
26
+ isCanBeResolved = false
27
+
28
+ attributes {
29
+ attribute(Category .CATEGORY_ATTRIBUTE , objects.named(Category .LIBRARY ))
30
+ attribute(Usage .USAGE_ATTRIBUTE , objects.named(Usage .C_PLUS_PLUS_API ))
31
+ attribute(Bundling .BUNDLING_ATTRIBUTE , objects.named(Bundling .EMBEDDED ))
32
+ }
33
+ }
34
+
35
+ val publicHeadersZip: TaskProvider <Zip > by tasks.registering(Zip ::class ) {
36
+ archiveBaseName = " elide-headers"
37
+ from(layout.projectDirectory.dir(" include" ))
38
+ }
39
+
40
+ artifacts {
41
+ add(" publicHeaders" , publicHeadersZip)
42
+ }
You can’t perform that action at this time.
0 commit comments