-
Notifications
You must be signed in to change notification settings - Fork 2
Add SimpleAdapter Annotation #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
5a01245
ca18557
67c1930
c21da9d
c5df267
1ceeb52
7304466
78d0e08
f7f701a
2578622
e19de55
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| /build | ||
| # Java class files | ||
| *.class | ||
|
|
||
| # Generated files | ||
| bin/ | ||
| gen/ | ||
| out/ | ||
|
|
||
| # Gradle files | ||
| .gradle/ | ||
| build/ | ||
|
|
||
| # Intellij | ||
| *.iml | ||
| .idea/workspace.xml | ||
| .idea/tasks.xml | ||
| .idea/gradle.xml | ||
| .idea/dictionaries | ||
| .idea/libraries | ||
|
|
||
| # Freeline | ||
| freeline.py | ||
| freeline/ | ||
| freeline_project_description.json | ||
| .idea/misc.xml | ||
| .idea/runConfigurations.xml | ||
| .idea/vcs.xml | ||
| .idea/modules.xml |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| apply plugin: 'java-library' | ||
| apply plugin: 'kotlin' | ||
|
|
||
| dependencies { | ||
| implementation fileTree(dir: 'libs', include: ['*.jar']) | ||
| implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" | ||
| } | ||
|
|
||
| sourceCompatibility = "7" | ||
| targetCompatibility = "7" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| package com.umairjavid.kombind.anontation | ||
|
|
||
| @Retention(AnnotationRetention.SOURCE) | ||
| @Target(AnnotationTarget.FIELD) | ||
| annotation class SimpleKombindAdapter(val layoutRes: Int = 0) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| #Sat Nov 10 09:57:43 EST 2018 | ||
| #Thu Apr 18 00:03:04 EDT 2019 | ||
| distributionBase=GRADLE_USER_HOME | ||
| distributionPath=wrapper/dists | ||
| zipStoreBase=GRADLE_USER_HOME | ||
| zipStorePath=wrapper/dists | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| /build | ||
| # Java class files | ||
| *.class | ||
|
|
||
| # Generated files | ||
| bin/ | ||
| gen/ | ||
| out/ | ||
|
|
||
| # Gradle files | ||
| .gradle/ | ||
| build/ | ||
|
|
||
| # Intellij | ||
| *.iml | ||
| .idea/workspace.xml | ||
| .idea/tasks.xml | ||
| .idea/gradle.xml | ||
| .idea/dictionaries | ||
| .idea/libraries | ||
|
|
||
| # Freeline | ||
| freeline.py | ||
| freeline/ | ||
| freeline_project_description.json | ||
| .idea/misc.xml | ||
| .idea/runConfigurations.xml | ||
| .idea/vcs.xml | ||
| .idea/modules.xml |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| apply plugin: 'java-library' | ||
| apply plugin: 'kotlin' | ||
| apply plugin: 'kotlin-kapt' | ||
|
|
||
| dependencies { | ||
| implementation fileTree(dir: 'libs', include: ['*.jar']) | ||
| implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" | ||
| kapt 'com.google.auto.service:auto-service:1.0-rc2' | ||
| implementation 'com.google.auto.service:auto-service:1.0-rc2' | ||
| implementation project(':annotation') | ||
| implementation 'com.squareup:kotlinpoet:1.2.0' | ||
| } | ||
|
|
||
| sourceCompatibility = "7" | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why not 8 as @gregriggins36 mentioned?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yea I thought about it, I don't know if its useful for the sourceCompatibility to be the same as the JVM Target.. Wouldn't it be safer for it to be compatible with a lesser version? |
||
| targetCompatibility = "7" | ||
| buildscript { | ||
| repositories { | ||
| mavenCentral() | ||
| } | ||
|
|
||
| } | ||
| repositories { | ||
| mavenCentral() | ||
| } | ||
| compileKotlin { | ||
| kotlinOptions { | ||
| jvmTarget = "1.8" | ||
| } | ||
| } | ||
| compileTestKotlin { | ||
| kotlinOptions { | ||
| jvmTarget = "1.8" | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.