Merge pull request #1 from null-dev/patch-1

Add runtime defined sources functionality
This commit is contained in:
inorichi 2017-05-04 12:07:24 +02:00 committed by GitHub
commit e8aaa4327f
2 changed files with 13 additions and 1 deletions

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.jfrog.bintray'
version = '1.0'
version = '1.1'
android {
compileSdkVersion 25

View File

@ -0,0 +1,12 @@
package eu.kanade.tachiyomi.source
/**
* A factory for creating sources at runtime.
*/
interface SourceFactory {
/**
* Create a new copy of the sources
* @return The created sources
*/
fun createSources(): List<Source>
}