sedstrom / witch-android-samples Goto Github PK
View Code? Open in Web Editor NEWSamples for Witch
Samples for Witch
dk7@DK7-PC D:\DK-HP-PA-2000AR\Laboratory\Android_Studio\Witch-Android-Samples
$ gradle check
Build cache is an incubating feature.
e: D:\DK-HP-PA-2000AR\Laboratory\Android_Studio\Witch-Android-Samples\githubrepos\src\main\java\com\example\githubrepos\ui\SearchActivity.kt: (34, 38): Type inference failed: Not enough information to infer parameter T in fun <T : View!> findViewById(p0: Int): T!
Please specify it explicitly.
e: D:\DK-HP-PA-2000AR\Laboratory\Android_Studio\Witch-Android-Samples\githubrepos\src\main\java\com\example\githubrepos\ui\SearchActivity.kt: (42, 26): Type inference failed: Not enough information to infer parameter T in fun <T : View!> findViewById(p0: Int): T!
Please specify it explicitly.
> Task :githubrepos:compileDebugKotlin
Using kotlin incremental compilation
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':githubrepos:compileDebugKotlin'.
> Compilation error. See log for more details
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED in 5s
14 actionable tasks: 1 executed, 13 up-to-date
Gradle build File...
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.1.3-2'
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-alpha6'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
google()
}
}
ext {
minSdkVersion = 15
targetSdkVersion = 25
compileSdkVersion = 26
buildToolsVersion = '26.0.0'
sourceCompatibilityVersion = JavaVersion.VERSION_1_8
targetCompatibilityVersion = JavaVersion.VERSION_1_8
}
def supportLibraryVersion = '26.0.0-beta2'
def witchVersion = '0.5.2'
ext.deps = [
// Witch
witch : "se.snylt:witch:$witchVersion",
witchProcessor : "se.snylt:witch-processor:$witchVersion",
// Android
supportCompat : "com.android.support:support-compat:$supportLibraryVersion",
supportAppCompat : "com.android.support:appcompat-v7:$supportLibraryVersion",
supportDesign : "com.android.support:recyclerview-v7:$supportLibraryVersion",
supportRecyclerView : "com.android.support:design:$supportLibraryVersion",
supportCardView : "com.android.support:cardview-v7:$supportLibraryVersion",
supportConstraintLayout : "com.android.support.constraint:constraint-layout:1.0.2",
// Test dependencies
junit : 'junit:junit:4.12',
mockitoCore : 'org.mockito:mockito-core:2.8.47',
]
task clean(type: Delete) {
delete rootProject.buildDir
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.