build.gradle(:app)

def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}

apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 28

lintOptions {
disable 'InvalidPackage'
}

defaultConfig {
// TODO: Specif…

오토핫키 JSON 불러오기

#include json.ahk

FileRead titleString, title.json
titles := JSON.Load(titleString)

F2::
Random, randArea, 1, titles["areas"].MaxIndex()
Random, randPlace, 1, titles["places"].MaxIndex()
Random, randType, 1, titles["types"].MaxIndex()
Random, randCategory, 1, titles["categories"].MaxIndex()

title := Format("{1} {2} {3} {4}",  titles["areas"][randArea].area,  titles["places"][randPlace].place ,  titles["types"][randType].type,  titles["categories"][randCategory].category  )

Send, % title

return

F3::
ExitApp

return

댓글

이 블로그의 인기 게시물

파이어베이스 펑션스 서브도메인 설정하기

build.gradle(:app)