Skip to content

Commit f4dba97

Browse files
committed
update ready
1 parent 5621066 commit f4dba97

File tree

6 files changed

+24
-11
lines changed

6 files changed

+24
-11
lines changed

bootpay/build.gradle

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,19 @@ task exportJar(type: Copy) {
9898
exportJar.dependsOn(deleteOldJar, build)
9999

100100

101-
apply plugin: 'com.github.dcendents.android-maven'
102-
group='com.github.bootpay'
101+
//apply plugin: 'com.github.dcendents.android-maven'
102+
apply plugin: 'maven-publish'
103+
//group='com.github.bootpay'
104+
afterEvaluate {
105+
publishing {
106+
publications {
107+
release(MavenPublication) {
108+
from components.release
109+
110+
groupId = 'com.github.bootpay'
111+
artifactId = 'client_android_java'
112+
version = '3.6.0'
113+
}
114+
}
115+
}
116+
}

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
buildscript {
44
ext {
5-
kotlin_version = '1.3.21'
5+
kotlin_version = '1.8.0'
66
}
77
repositories {
88
jcenter()
99
google()
1010
}
1111
dependencies {
12-
classpath 'com.android.tools.build:gradle:3.6.3'
12+
classpath 'com.android.tools.build:gradle:7.3.1'
1313
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1414
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
1515

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#Fri May 08 11:23:35 KST 2020
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip

local.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
# Location of the SDK. This is only used by Gradle.
55
# For customization when using a Version Control System, please read the
66
# header note.
7-
#Wed Apr 06 09:14:09 KST 2022
8-
sdk.dir=/Users/bootpay/Library/Android/sdk
7+
#Wed Jan 17 13:04:40 KST 2024
98
ndk.dir=/Users/ehowlsla/Library/Android/sdk/ndk-bundle
9+
sdk.dir=/Users/taesupyoon/Library/Android/sdk

sample/src/main/java/bootpay/co/kr/samplepayment/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public void goRequest(View v) {
7474
// Spinner mySpinner = (Spinner) findViewById(R.id.your_spinner);
7575
// String text = mySpinner.getSelectedItem().toString();
7676
BootUser bootUser = new BootUser().setPhone("010-1234-5678"); // 구매자 정보
77-
BootExtra bootExtra = new BootExtra().setQuotas(new int[] {0,2,3}).setIsShowCloseButton(0); // 일시불, 2개월, 3개월 할부 허용, 할부는 최대 12개월까지 사용됨 (5만원 이상 구매시 할부허용 범위)
77+
BootExtra bootExtra = new BootExtra().setQuotas(new int[] {0,2,3}).setPopup(1).setIsShowCloseButton(0); // 일시불, 2개월, 3개월 할부 허용, 할부는 최대 12개월까지 사용됨 (5만원 이상 구매시 할부허용 범위)
7878
Double price = 1000d;
7979
try {
8080
price = Double.parseDouble(edit_price.getText().toString());

sample/src/main/java/bootpay/co/kr/samplepayment/NativeActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public void onClick_request(View v) {
7272

7373
void goPGPay() {
7474
BootUser bootUser = new BootUser().setAddr("서울시 동작구 상도로 369").setEmail("[email protected]").setPhone("010-1234-2314");
75-
BootExtra bootExtra = new BootExtra().setQuotas(new int[] {1,2,3}).setPopup(1).setQuickPopup(1);
75+
BootExtra bootExtra = new BootExtra().setQuotas(new int[] {1,2,3}).setPopup(1);
7676

7777
// Payload payload = new Payload();
7878
// payload.setOrder_id("1232352354")
@@ -87,7 +87,7 @@ void goPGPay() {
8787
Bootpay.init(getFragmentManager())
8888
.setContext(this)
8989
.setApplicationId(application_id) // 해당 프로젝트(안드로이드)의 application id 값
90-
.setPG(PG.PAYAPP) // 결제할 PG 사
90+
.setPG(PG.NICEPAY) // 결제할 PG 사
9191
.setMethod(Method.NPAY)
9292
// .setEasyPayUserToken("wef")
9393
// .setMethodList(Arrays.asList(Method.EASY_CARD, Method.PHONE, Method.BANK, Method.CARD, Method.VBANK))

0 commit comments

Comments
 (0)