diff options
Diffstat (limited to 'library/build.gradle')
-rw-r--r-- | library/build.gradle | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/library/build.gradle b/library/build.gradle new file mode 100644 index 0000000..4e082e6 --- /dev/null +++ b/library/build.gradle @@ -0,0 +1,51 @@ +apply plugin: 'com.android.library' +apply plugin: 'kotlin-android-extensions' +apply plugin: 'kotlin-android' + +android { + compileSdkVersion 28 + + + defaultConfig { + minSdkVersion 14 + targetSdkVersion 28 + versionCode 1 + versionName "1.0" + + testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" + + } + + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } + + packageBuildConfig false +} + +dependencies { + implementation fileTree(dir: 'libs', include: ['*.jar']) + implementation 'androidx.fragment:fragment:1.0.0' + implementation 'androidx.constraintlayout:constraintlayout:1.1.3' + testImplementation 'junit:junit:4.12' + androidTestImplementation 'com.android.support.test:runner:1.0.2' + androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' + implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" +} +repositories { + mavenCentral() +} + +apply plugin: 'maven' +group = "moe.yuuta.flow" +version = rootProject.ext.version +uploadArchives { + repositories { + mavenDeployer { + repository(url: uri('../repo')) + } + } +}
\ No newline at end of file |