This repository was archived by the owner on Jan 26, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-17
lines changed
Expand file tree Collapse file tree 2 files changed +11
-17
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,15 @@ jobs:
1919 - name : Validate Gradle wrapper
2020 uses : gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
2121 - name : Build with Gradle
22- run : gradle build
22+ run : gradle shadowJar
2323 - name : Create Release
24- id : create_release
2524 uses : actions/create-release@v1
25+ id : create_release
2626 env :
2727 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2828 with :
2929 tag_name : ${{ github.ref }}
30- release_name : GGAddition ${{ github.ref }}
30+ release_name : Tesseract ${{ github.ref }}
3131 draft : false
3232 prerelease : true
3333 - name : Upload Release Asset
3636 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3737 with :
3838 upload_url : ${{ steps.create_release.outputs.upload_url }}
39- asset_path : build/libs
39+ asset_path : build/libs/tesseract.jar
4040 asset_name : tesseract.jar
4141 asset_content_type : application/java-archive
4242 - name : Cleanup Gradle Cache
Original file line number Diff line number Diff line change 2323 */
2424
2525import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
26- import proguard.gradle.ProGuardTask
2726
2827buildscript {
2928 dependencies {
@@ -37,7 +36,7 @@ plugins {
3736 id(" edu.sc.seis.launch4j" ) version " 2.5.0"
3837 kotlin(" jvm" ) version " 1.5.30"
3938 `maven- publish`
40- signing
39+ /* signing*/
4140}
4241
4342repositories {
@@ -103,22 +102,17 @@ tasks {
103102 into(" build/libs/libs" )
104103 }
105104
106- register<ProGuardTask >(" proguard" ) {
107- dependsOn(" shadowJar" )
108- configuration(" ../proguard.conf" )
109- injars(shadowJar.get().archivePath)
110- outjars(" build/libs/${project.name} .jar" )
111- libraryjars(" C:\\ Program Files\\ Java\\ jdk-16.0.1\\ jmods" )
112- libraryjars(configurations.default)
113- }
105+ shadowJar {
106+ archiveName = " tesseract.jar"
114107
115- shadowJar { manifest { attributes[" Main-Class" ] = " com.valaphee.tesseract.MainKt" } }
108+ manifest { attributes[" Main-Class" ] = " com.valaphee.tesseract.MainKt" }
109+ }
116110}
117111
118- signing {
112+ /* signing {
119113 useGpgCmd()
120114 sign(publishing.publications)
121- }
115+ }*/
122116
123117publishing {
124118 publications {
You can’t perform that action at this time.
0 commit comments