build.gradle 3.67 KB
Newer Older
Lee Jaebin committed
1 2 3 4 5 6 7 8
buildscript {
    repositories {
        jcenter()
    }
}
apply plugin: 'com.android.library'

android {
Kim Jinsung committed
9 10
    compileSdkVersion 30
    buildToolsVersion '30.0.2'
Lee Jaebin committed
11 12

    defaultConfig {
13
        minSdkVersion 23
Kim Jinsung committed
14
        targetSdkVersion 30
Lee Jaebin committed
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
        //abvEnvironments
        resValue("string", "acms_address", "${acms_address}")
        resValue("string", "download_server_address", "${download_server_address}")
        resValue("string", "websocket_server_http_url", "${websocket_server_http_url}")
        resValue("string", "websocket_server_ws_url", "${websocket_server_ws_url}")
        resValue("bool", "websocket_debug", "${websocket_debug}")
        resValue("string", "google_public_key1", "${google_public_key1}")
        resValue("string", "google_public_key2", "${google_public_key2}")
        resValue("string", "google_public_key3", "${google_public_key3}")
        resValue("string", "app_name", "${app_name}")
        resValue("bool", "keep_screen", "${keep_screen}")
        resValue("string", "scheme_url", "${scheme_url}")
        resValue("bool", "store_version", "${store_version}")
        resValue("integer", "product_code", "${product_code}")
        resValue("bool", "use_cache", "${use_cache}")
        resValue("integer", "cache_size", "${cache_size}")
        resValue("bool", "content_protected", "${content_protected}")
        resValue("bool", "pdf_thumbnail_output", "${pdf_thumbnail_output}")
        resValue("bool", "pdf_image_output", "${pdf_image_output}")
        resValue("integer", "content_refresh_interval", "${content_refresh_interval}")
        resValue("integer", "meeting_reenter_alert", "${meeting_reenter_alert}")
        resValue("integer", "min_page_log_second", "${min_page_log_second}")
        resValue("bool", "follow_service_option", "${follow_service_option}")
        resValue("bool", "is_check_invalid_passward_limit", "${is_check_invalid_passward_limit}")
        resValue("bool", "repeat_default", "${repeat_default}")
        resValue("string", "version_name", "${version_name}")
        resValue("string", "release_date", "${release_date}")
        resValue("string", "copy_right", "${copy_right}")
        resValue("string", "hope_page", "${hope_page}")
        resValue("string", "contact_email", "${contact_email}")
        resValue("integer", "log_level", "${log_level}")
        resValue("string", "default_log_name", "${default_log_name}")
        resValue("integer", "error_report_flg", "${error_report_flg}")
        resValue("string", "error_report_email", "${error_report_email}")
        resValue("integer", "app_log_retention", "${app_log_retention}")
        resValue("bool", "hprof", "${hprof}")
        resValue("string", "repository_fqdn", "${repository_fqdn}")

        //abvFunctionOptions
        resValue("integer", "login_mode", "${login_mode}")
        resValue("string", "account_path", "${account_path}")
        resValue("integer", "push_message", "${push_message}")
        resValue("integer", "check_app_update", "${check_app_update}")
        resValue("integer", "not_delete_all_contents", "${not_delete_all_contents}")
59 60 61

        // privacy policy
        resValue("string", "privacy_policy_url", "${privacy_policy_url}")
62 63
        // 利用規約
        resValue("string", "agree_to_terms_of_use_url", "${agree_to_terms_of_use_url}")
Lee Jaebin committed
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
    }
    sourceSets {
        main {
            manifest.srcFile './AndroidManifest.xml'
            java.srcDir './src'
            resources.srcDir './res'
            res.srcDir 'res'
        }
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        }
    }
79 80 81
    lintOptions {
        abortOnError false
    }
Lee Jaebin committed
82
}