Skip to content
This repository was archived by the owner on Aug 10, 2025. It is now read-only.

Commit 286ff21

Browse files
committed
Make gradle able to build a jar
1 parent ae87dff commit 286ff21

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

Lib/build.gradle

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,17 @@ android {
2727
}
2828

2929
dependencies {
30+
}
31+
32+
task clearJar(type: Delete) {
33+
delete 'build/libs/CardTree.jar'
34+
}
3035

36+
task makeJar(type: Copy) {
37+
from('build/bundles/release/')
38+
into('build/libs/')
39+
include('classes.jar')
40+
rename ('classes.jar', 'CardTree.jar')
3141
}
42+
43+
makeJar.dependsOn(clearJar, build)

gradlew

100644100755
File mode changed.

0 commit comments

Comments
 (0)