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