Skip to content

Commit

Permalink
gha test 12
Browse files Browse the repository at this point in the history
  • Loading branch information
bladecoder committed Feb 6, 2024
1 parent c08280e commit 50c7109
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 21 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/gradle-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ jobs:
with:
distribution: corretto
java-version: 17
- name: Generating debug keystore and SHA1 key
run: |
mkdir -p $HOME/.android
keytool -genkey -v -keystore $HOME/.android/debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000 -dname "CN=Android Debug,O=Android,C=US"
- name: Build with Gradle
run: ./gradlew --debug --stacktrace build
- name: Pass tests and checks
Expand Down
34 changes: 17 additions & 17 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
google()
}
dependencies {
//classpath "com.badlogicgames.gdx:gdx-tools:$gdxVersion"
classpath "com.badlogicgames.gdx:gdx-tools:$gdxVersion"
//classpath "com.mobidevelop.robovm:robovm-gradle-plugin:$robovmVersion"
classpath "com.android.tools.build:gradle:$androidPluginVersion"
}
Expand Down Expand Up @@ -65,20 +65,20 @@ subprojects {
eclipse.project.name = 'blade-ink-template' + '-parent'

// Run `gradle pack` task to generate skin.atlas file at assets/ui.
//import com.badlogic.gdx.tools.texturepacker.TexturePacker
//
//tasks.register('pack') {
//
// doLast {
//
// // Note that if you need multiple atlases, you can duplicate the
// // TexturePacker.process invocation and change paths to generate
// // additional atlases with this task.
// TexturePacker.process(
// 'raw/ui', // Raw assets path.
// 'assets/ui/1/', // Output directory.
// 'ui' // Name of the generated atlas (without extension).
// )
// }
//}
import com.badlogic.gdx.tools.texturepacker.TexturePacker

tasks.register('pack') {

doLast {

// Note that if you need multiple atlases, you can duplicate the
// TexturePacker.process invocation and change paths to generate
// additional atlases with this task.
TexturePacker.process(
'raw/ui', // Raw assets path.
'assets/ui/1/', // Output directory.
'ui' // Name of the generated atlas (without extension).
)
}
}

0 comments on commit 50c7109

Please sign in to comment.