mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
feat(android): android internal testing (#8577)
This commit is contained in:
1
packages/frontend/apps/android/.gitignore
vendored
1
packages/frontend/apps/android/.gitignore
vendored
@@ -17,3 +17,4 @@ App/**/*.p8
|
||||
*.zip
|
||||
*.cer
|
||||
App/fastlane/report.xml
|
||||
affine.keystore
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
|
||||
buildscript {
|
||||
|
||||
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:8.2.1'
|
||||
classpath 'com.android.tools.build:gradle:8.7.1'
|
||||
classpath 'com.google.gms:google-services:4.4.0'
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import { join } from 'node:path';
|
||||
|
||||
import type { CapacitorConfig } from '@capacitor/cli';
|
||||
|
||||
const config: CapacitorConfig = {
|
||||
@@ -6,6 +8,13 @@ const config: CapacitorConfig = {
|
||||
webDir: 'dist',
|
||||
android: {
|
||||
path: 'App',
|
||||
buildOptions: {
|
||||
keystorePath: join(__dirname, 'affine.keystore'),
|
||||
keystorePassword: process.env.AFFINE_ANDROID_KEYSTORE_PASSWORD,
|
||||
keystoreAlias: 'key0',
|
||||
keystoreAliasPassword: process.env.AFFINE_ANDROID_KEYSTORE_ALIAS_PASSWORD,
|
||||
releaseType: 'AAB',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -27,6 +27,6 @@
|
||||
"@types/react": "^18.2.75",
|
||||
"@types/react-dom": "^18.2.24",
|
||||
"cross-env": "^7.0.3",
|
||||
"typescript": "^5.4.5"
|
||||
"typescript": "^5.6.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,6 +29,6 @@
|
||||
"@types/react": "^18.2.75",
|
||||
"@types/react-dom": "^18.2.24",
|
||||
"cross-env": "^7.0.3",
|
||||
"typescript": "^5.4.5"
|
||||
"typescript": "^5.6.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,6 +24,6 @@
|
||||
"@types/react": "^18.2.75",
|
||||
"@types/react-dom": "^18.2.24",
|
||||
"cross-env": "^7.0.3",
|
||||
"typescript": "^5.4.5"
|
||||
"typescript": "^5.6.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,6 +23,6 @@
|
||||
"@types/react": "^18.2.75",
|
||||
"@types/react-dom": "^18.2.24",
|
||||
"cross-env": "^7.0.3",
|
||||
"typescript": "^5.4.5"
|
||||
"typescript": "^5.6.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
"@types/react-dom": "^18.2.24",
|
||||
"@vanilla-extract/css": "^1.14.2",
|
||||
"storybook": "^8.2.9",
|
||||
"typescript": "^5.4.5",
|
||||
"typescript": "^5.6.3",
|
||||
"unplugin-swc": "^1.5.1",
|
||||
"vite": "^5.2.8",
|
||||
"vitest": "2.1.1"
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
"ava": "^6.1.2",
|
||||
"nx": "^20.0.3",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.4.5"
|
||||
"typescript": "^5.6.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
|
||||
Reference in New Issue
Block a user