Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 947 Bytes

README.md

File metadata and controls

43 lines (32 loc) · 947 Bytes

commonmark-android-test

This module ensures that commonmark-java is supported on Android by running lint checks on library sources. Current minSdk is 19

Requirements:

  • Java 17 or above (supported by the Gradle wrapper version)
  • Android SDK Platform 30 and SDK Build Tools 36.0.0

Configuration

  1. Download Android SDK
  2. Be sure that SDK Platform 30 is installed. It's recommended to use x86
  3. Export to PATH: path_to_android_sdk/platform-tools and path_to_android_sdk/tools
  4. Create 2 properties files in commonmark-android-test

/local.properties

sdk.dir=/path_to_android_sdk

Usage

Run lint checked

on Mac/Linux:

./gradlew :app:lint

on Windows:

.\gradlew :app:lint

Links

Gradle Documentations Android Gradle Plugin Docs