如何以编程方式更新build.gradle android
在我的项目中,我想从sharedpref中获得SchemaReversion值,我如何做到这一点如何以编程方式更新build.gradle android,android,build.gradle,greendao,Android,Build.gradle,Greendao,在我的项目中,我想从sharedpref中获得SchemaReversion值,我如何做到这一点 greendao { schemaVersion 'here' }
greendao {
schemaVersion 'here'
}