diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index aa26146..7b94bad 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -7,8 +7,8 @@ on:
- main
pull_request:
jobs:
- BASE_CHECKS:
- name: Base Checks
+ CHECK_DEPLOY:
+ name: Deploy locally
runs-on: ubuntu-latest
env:
GHUB_USER: ${{ secrets.GHUB_USER }}
@@ -22,16 +22,28 @@ jobs:
java-version: 17
distribution: temurin
cache: gradle
-
- name: Check local deployment
run: ./gradlew build deployLocal
-
+ CHECK_TESTS:
+ name: Run emulator tests
+ runs-on: ubuntu-latest
+ env:
+ GHUB_USER: ${{ secrets.GHUB_USER }}
+ GHUB_PERSONAL_ACCESS_TOKEN: ${{ secrets.GHUB_PERSONAL_ACCESS_TOKEN }}
+ SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
+ SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-java@v4
+ with:
+ java-version: 17
+ distribution: temurin
+ cache: gradle
- name: Enable KVM group perms
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
-
- name: Run tests
uses: reactivecircus/android-emulator-runner@v2
with:
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 742cfca..493919b 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -3,7 +3,7 @@ on:
release:
types: [published]
jobs:
- SONATYPE_UPLOAD:
+ DEPLOY:
name: Sonatype Upload
runs-on: ubuntu-latest
env:
diff --git a/.idea/runConfigurations/deployGithub.xml b/.idea/runConfigurations/deployGithub.xml
new file mode 100644
index 0000000..41fb258
--- /dev/null
+++ b/.idea/runConfigurations/deployGithub.xml
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+ true
+ true
+ false
+ false
+
+
+
\ No newline at end of file
diff --git a/.idea/runConfigurations/deploySonatype.xml b/.idea/runConfigurations/deploySonatype.xml
new file mode 100644
index 0000000..611c7d2
--- /dev/null
+++ b/.idea/runConfigurations/deploySonatype.xml
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+ true
+ false
+ false
+
+
+
\ No newline at end of file
diff --git a/gradle.properties b/gradle.properties
index f276cac..b3916d4 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,11 +1,14 @@
-kotlin.mpp.stability.nowarn=true
org.gradle.caching=true
org.gradle.caching.debug=false
org.gradle.parallel=true
+org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
+
+kotlin.mpp.stability.nowarn=true
kotlin.incremental.useClasspathSnapshot=true
kotlin.mpp.enableCInteropCommonization=true
kotlin.mpp.import.enableKgpDependencyResolution=true
-org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
+
+android.useAndroidX=true
knee.version=1.0.0-rc1
knee.group=io.deepmedia.tools.knee
diff --git a/tests/gradle.properties b/tests/gradle.properties
index 8f22607..a0de9ac 100644
--- a/tests/gradle.properties
+++ b/tests/gradle.properties
@@ -1,11 +1,14 @@
-kotlin.mpp.stability.nowarn=true
org.gradle.caching=true
org.gradle.caching.debug=false
org.gradle.parallel=true
+org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
+
+kotlin.mpp.stability.nowarn=true
kotlin.incremental.useClasspathSnapshot=true
kotlin.mpp.enableCInteropCommonization=true
kotlin.mpp.import.enableKgpDependencyResolution=true
-org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
+
+android.useAndroidX=true
io.deepmedia.knee.verboseLogs=true
io.deepmedia.knee.verboseSources=true