mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 14:58:34 +00:00
Add simple_shader (#1668)
* Add `simple_shader` * Add NL at EOF * Adopt `analysis_defaults` * Update simple_shader/shaders/simple.frag Co-authored-by: Jonah Williams <jonahwilliams@google.com> * Update simple_shader/shaders/simple.frag Co-authored-by: Jonah Williams <jonahwilliams@google.com> * Update simple_shader/shaders/simple.frag Co-authored-by: Jonah Williams <jonahwilliams@google.com> * Update simple_shader/shaders/simple.frag Co-authored-by: Jonah Williams <jonahwilliams@google.com> * Update simple_shader/shaders/simple.frag Co-authored-by: Jonah Williams <jonahwilliams@google.com> * Update simple_shader/shaders/simple.frag Co-authored-by: Jonah Williams <jonahwilliams@google.com> * Update simple_shader/shaders/simple.frag Co-authored-by: Jonah Williams <jonahwilliams@google.com> * Update simple_shader/shaders/simple.frag Co-authored-by: Jonah Williams <jonahwilliams@google.com> * Apply `clang-format` to `shaders/simple.frag` --------- Co-authored-by: Jonah Williams <jonahwilliams@google.com>
This commit is contained in:
31
simple_shader/android/build.gradle
Normal file
31
simple_shader/android/build.gradle
Normal file
@@ -0,0 +1,31 @@
|
||||
buildscript {
|
||||
ext.kotlin_version = '1.7.10'
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:7.2.0'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
||||
|
||||
rootProject.buildDir = '../build'
|
||||
subprojects {
|
||||
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
||||
}
|
||||
subprojects {
|
||||
project.evaluationDependsOn(':app')
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
delete rootProject.buildDir
|
||||
}
|
||||
Reference in New Issue
Block a user