Skip to content

Commit

Permalink
バージョンをモジュール間で統一
Browse files Browse the repository at this point in the history
  • Loading branch information
hirotaka.koga committed Aug 20, 2018
1 parent 02e643a commit f8d145a
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 16 deletions.
Binary file modified .idea/caches/build_file_checksums.ser
Binary file not shown.
2 changes: 1 addition & 1 deletion .settings/org.eclipse.buildship.core.prefs
@@ -1,2 +1,2 @@
#Tue Jan 02 15:57:06 JST 2018
connection.project.dir= connection.project.dir=
eclipse.preferences.version=1
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -93,7 +93,7 @@ FrameworkライブラリはGitPagesの仮Mavenリポジトリで公開。
maven { url 'http://kght6123.github.io/maven-repositories/android' } maven { url 'http://kght6123.github.io/maven-repositories/android' }
} }
dependencies { dependencies {
compile 'jp.kght6123.floating.window:floating-window-framework:0.0.1' compile 'jp.kght6123.floating.window:floating-window-framework:latest'
} }
``` ```


Expand Down
7 changes: 6 additions & 1 deletion build.gradle
@@ -1,12 +1,17 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.


buildscript { buildscript {
ext.kotlin_version = '1.2.51' ext.kotlin_version = '1.2.60'
ext.kotlinx_coroutines_version = '0.16' ext.kotlinx_coroutines_version = '0.16'
ext.android_support_version = '27.1.1' ext.android_support_version = '27.1.1'
ext.constraint_layout_version = '1.1.2' ext.constraint_layout_version = '1.1.2'
ext.anko_version='0.10.3' ext.anko_version='0.10.3'
ext.gradle_version='3.3.0-alpha03' ext.gradle_version='3.3.0-alpha03'
ext.version_code="3"
ext.version_name="0.3.0"
ext.maven_repo_version="0.3.0"
ext.espresso_core_version="3.0.1"
ext.junit_version="4.12"
repositories { repositories {
jcenter() jcenter()
google() google()
Expand Down
Binary file modified download/floating-window-core-debug.apk
Binary file not shown.
Binary file modified download/floating-window-core-release-unsigned.apk
Binary file not shown.
8 changes: 4 additions & 4 deletions floating-window-core/build.gradle
Expand Up @@ -8,8 +8,8 @@ android {
applicationId 'jp.kght6123.floating.window.core' applicationId 'jp.kght6123.floating.window.core'
minSdkVersion 23 minSdkVersion 23
targetSdkVersion 27 targetSdkVersion 27
versionCode 2 versionCode Integer.decode("$version_code")
versionName "1.1" versionName "$version_name"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true multiDexEnabled true
} }
Expand All @@ -36,7 +36,7 @@ android {


dependencies { dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.1', { androidTestImplementation("com.android.support.test.espresso:espresso-core:$espresso_core_version", {
exclude group: 'com.android.support', module: 'support-annotations' exclude group: 'com.android.support', module: 'support-annotations'
}) })
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
Expand Down Expand Up @@ -68,7 +68,7 @@ dependencies {
implementation "org.jetbrains.anko:anko-support-v4-commons:$anko_version"// Support-v4 (only Anko Commons) implementation "org.jetbrains.anko:anko-support-v4-commons:$anko_version"// Support-v4 (only Anko Commons)
implementation "org.jetbrains.anko:anko-support-v4:$anko_version"// Support-v4 (Anko Layouts) implementation "org.jetbrains.anko:anko-support-v4:$anko_version"// Support-v4 (Anko Layouts)


testImplementation 'junit:junit:4.12' testImplementation "junit:junit:$junit_version"
implementation project(path: ':floating-window-framework') implementation project(path: ':floating-window-framework')
} }
repositories { repositories {
Expand Down
10 changes: 5 additions & 5 deletions floating-window-framework/build.gradle
Expand Up @@ -7,7 +7,7 @@ uploadArchives {
// Mavenリポジトリを作成 // Mavenリポジトリを作成
mavenDeployer { mavenDeployer {
repository url: "file://$buildDir/../../../maven-repositories/android" repository url: "file://$buildDir/../../../maven-repositories/android"
pom.version = "0.0.2" pom.version = "$maven_repo_version"
pom.groupId = "jp.kght6123.floating.window" pom.groupId = "jp.kght6123.floating.window"
pom.artifactId = "floating-window-framework" pom.artifactId = "floating-window-framework"
} }
Expand All @@ -20,8 +20,8 @@ android {
defaultConfig { defaultConfig {
minSdkVersion 23 minSdkVersion 23
targetSdkVersion 27 targetSdkVersion 27
versionCode 2 versionCode Integer.decode("$version_code")
versionName "1.1" versionName "$version_name"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true multiDexEnabled true
} }
Expand Down Expand Up @@ -49,7 +49,7 @@ android {


dependencies { dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.1', { androidTestImplementation("com.android.support.test.espresso:espresso-core:$espresso_core_version", {
exclude group: 'com.android.support', module: 'support-annotations' exclude group: 'com.android.support', module: 'support-annotations'
}) })
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
Expand Down Expand Up @@ -81,7 +81,7 @@ dependencies {
implementation "org.jetbrains.anko:anko-support-v4-commons:$anko_version"// Support-v4 (only Anko Commons) implementation "org.jetbrains.anko:anko-support-v4-commons:$anko_version"// Support-v4 (only Anko Commons)
implementation "org.jetbrains.anko:anko-support-v4:$anko_version"// Support-v4 (Anko Layouts) implementation "org.jetbrains.anko:anko-support-v4:$anko_version"// Support-v4 (Anko Layouts)


testImplementation 'junit:junit:4.12' testImplementation "junit:junit:$junit_version"
} }
repositories { repositories {
mavenCentral() mavenCentral()
Expand Down
8 changes: 4 additions & 4 deletions floating-window-sample/build.gradle
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "jp.kght6123.floating.window.sample" applicationId "jp.kght6123.floating.window.sample"
minSdkVersion 23 minSdkVersion 23
targetSdkVersion 27 targetSdkVersion 27
versionCode 2 versionCode Integer.decode("$version_code")
versionName "1.1" versionName "$version_name"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true multiDexEnabled true
} }
Expand All @@ -36,7 +36,7 @@ android {


dependencies { dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.1', { androidTestImplementation("com.android.support.test.espresso:espresso-core:$espresso_core_version", {
exclude group: 'com.android.support', module: 'support-annotations' exclude group: 'com.android.support', module: 'support-annotations'
}) })
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
Expand Down Expand Up @@ -68,7 +68,7 @@ dependencies {
implementation "org.jetbrains.anko:anko-support-v4-commons:$anko_version"// Support-v4 (only Anko Commons) implementation "org.jetbrains.anko:anko-support-v4-commons:$anko_version"// Support-v4 (only Anko Commons)
implementation "org.jetbrains.anko:anko-support-v4:$anko_version"// Support-v4 (Anko Layouts) implementation "org.jetbrains.anko:anko-support-v4:$anko_version"// Support-v4 (Anko Layouts)


testImplementation 'junit:junit:4.12' testImplementation "junit:junit:$junit_version"
implementation project(path: ':floating-window-framework') implementation project(path: ':floating-window-framework')
} }
repositories { repositories {
Expand Down

0 comments on commit f8d145a

Please sign in to comment.