Add sample app signing (also ignore in CI)
This commit is contained in:
		
							parent
							
								
									a330b57be8
								
							
						
					
					
						commit
						11bec3d37e
					
				
							
								
								
									
										2
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @ -15,4 +15,4 @@ jobs: | ||||
|         with: | ||||
|           java-version: 1.8 | ||||
|       - name: Build with Gradle | ||||
|         run: ./gradlew build -Prelease | ||||
|         run: ./gradlew build -Prelease -PCI | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/pull-request.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/pull-request.yml
									
									
									
									
										vendored
									
									
								
							| @ -14,4 +14,4 @@ jobs: | ||||
|         with: | ||||
|           java-version: 1.8 | ||||
|       - name: Build with Gradle | ||||
|         run: ./gradlew build | ||||
|         run: ./gradlew build -PCI | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| # Changelog | ||||
| 
 | ||||
| # $SNAPSHOT; | ||||
| # SNAPSHOT | ||||
| 
 | ||||
| #### Added | ||||
| * `core` - `MovementMethodPlugin.none()`, `MovementMethodPlugin.link()` factory methods | ||||
|  | ||||
| @ -57,6 +57,11 @@ android { | ||||
|     signingConfigs { | ||||
|         config { | ||||
| 
 | ||||
|             // skip signing in CI environment | ||||
|             if (project.hasProperty('CI')) { | ||||
|                 return | ||||
|             } | ||||
| 
 | ||||
|             final def keystoreFile = project.file('keystore.jks') | ||||
|             final def keystoreFilePassword = 'MARKWON_KEYSTORE_FILE_PASSWORD' | ||||
|             final def keystoreAlias = 'MARKWON_KEY_ALIAS' | ||||
| @ -84,6 +89,15 @@ android { | ||||
|             keyPassword project[keystoreAliasPassword] | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     buildTypes { | ||||
|         debug { | ||||
|             signingConfig signingConfigs.config | ||||
|         } | ||||
|         release { | ||||
|             signingConfig signingConfigs.config | ||||
|         } | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| kapt { | ||||
|  | ||||
| @ -6,8 +6,8 @@ buildscript { | ||||
|     } | ||||
|     dependencies { | ||||
|         // on `3.5.3` tests are not run from CLI | ||||
|         classpath 'com.android.tools.build:gradle:4.0.0' | ||||
|         classpath 'com.github.ben-manes:gradle-versions-plugin:0.27.0' | ||||
|         classpath 'com.android.tools.build:gradle:4.0.1' | ||||
|         classpath 'com.github.ben-manes:gradle-versions-plugin:0.28.0' | ||||
|         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | ||||
|     } | ||||
| } | ||||
| @ -35,7 +35,7 @@ task clean(type: Delete) { | ||||
| } | ||||
| 
 | ||||
| wrapper { | ||||
|     gradleVersion '5.5.1' | ||||
|     gradleVersion '6.1.1' | ||||
|     distributionType 'all' | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Dimitry Ivanov
						Dimitry Ivanov